source: orange/install-scripts/linux/testOrange.sh @ 3293:ee1d931fc1c4

Revision 3293:ee1d931fc1c4, 603 bytes checked in by cvso <cvso@…>, 7 years ago (diff)

* empty log message *

Line 
1TAG=HEAD
2
3cd /home/orange/daily/test_install/orange
4cvs -Q -d :pserver:cvso@estelle.fri.uni-lj.si:/cvs checkout -r $TAG -f -d regressionTests regressionTests
5mv regressionTests/* .
6
7# fix the path for the regression test from ../doc to ../orange/doc
8cat xtest.py | sed s/"\.\.\/doc"/"\.\.\/doc\/orange"/ > new.py
9mv -f new.py xtest.py
10
11LD_LIBRARY_PATH=/home/orange/daily/test_install/orange:$LD_LIBRARY_PATH
12export LD_LIBRARY_PATH
13
14# set time limit for regression tests
15ulimit -t 1800
16if ! python xtest.py test; then
17    exit 1
18else
19    exit 0
20fi
21
22# commit testresults.xml
23# cvs commit -m "" testresults.xml
24
Note: See TracBrowser for help on using the repository browser.