source: orange/install-scripts/callRegression.btm @ 3160:0d1608b35da0

Revision 3160:0d1608b35da0, 1.1 KB checked in by tomazc <tomazc@…>, 7 years ago (diff)

no message

Line 
1call updateSetConstants__.btm
2
3pushd
4cd ..
5cvs -d :sspi;username=cvs;password=cvs;hostname=estelle.fri.uni-lj.si:/cvs checkout -P -- regressionTests
6cvs -d :sspi;username=cvs;password=cvs;hostname=estelle.fri.uni-lj.si:/cvs checkout -P -d doc -- orange/doc
7popd
8
9if exist regressionTests.log del regressionTests.log
10
11for %pyver in (%PYTHONVERSIONS) do (
12  echo Python %pyver
13  call regressionTests.btm %pyver >> regressionTests.log
14  flag_on_error
15)
16
17set REGRESDIR=%WEBDOWNLOAD\regressionResults
18if not exist %REGRESDIR mkdir %REGRESDIR
19
20for %d in (modules-output ofb-output reference-output) do (
21  for %res in (crash error new changed random1 random2) do (
22    rem remove old regression reports from web and copy new
23    del /s %REGRESDIR\regressionTests\%d\*.py.win32.?.?.%res.txt
24    copy /s ..\regressionTests\%d\*.py.*.?.?.%res.txt %REGRESDIR\regressionTests\%d
25  )
26)
27
28copy regressionTests.log %REGRESDIR\windows.regress.log
29
30iff %ERRORS != 0 then
31  set subj="Error in regression tests on Windows"
32else
33  set subj="Regression tests on Windows completed successfully"
34endiff
35
36sendmail %MAIL_TO %subj @regressionTests.log
37
Note: See TracBrowser for help on using the repository browser.