Show More
@@ -6,6 +6,15 b' tests=0' | |||||
6 | failed=0 |
|
6 | failed=0 | |
7 | H=$PWD |
|
7 | H=$PWD | |
8 |
|
8 | |||
|
9 | TESTPATH=$PWD/install/bin | |||
|
10 | export PATH=$TESTPATH:$PATH | |||
|
11 | export PYTHONPATH=$PWD/install/lib/python | |||
|
12 | ||||
|
13 | rm -rf install | |||
|
14 | cd .. | |||
|
15 | ${PYTHON:-python} setup.py install --home=tests/install | |||
|
16 | cd $H | |||
|
17 | ||||
9 | function run_one |
|
18 | function run_one | |
10 | { |
|
19 | { | |
11 | export TZ=GMT |
|
20 | export TZ=GMT | |
@@ -44,6 +53,8 b' if [ "$TESTS" == "" ] ; then' | |||||
44 | TESTS=`ls test-* | grep -Ev "\.|~"` |
|
53 | TESTS=`ls test-* | grep -Ev "\.|~"` | |
45 | fi |
|
54 | fi | |
46 |
|
55 | |||
|
56 | rm -f test-*.err | |||
|
57 | ||||
47 | for f in $TESTS ; do |
|
58 | for f in $TESTS ; do | |
48 | echo -n "." |
|
59 | echo -n "." | |
49 | if ! run_one $f ; then |
|
60 | if ! run_one $f ; then | |
@@ -52,6 +63,8 b' for f in $TESTS ; do' | |||||
52 | tests=$[$tests + 1] |
|
63 | tests=$[$tests + 1] | |
53 | done |
|
64 | done | |
54 |
|
65 | |||
|
66 | rm -rf install | |||
|
67 | ||||
55 | echo |
|
68 | echo | |
56 | echo Ran $tests tests, $failed failed |
|
69 | echo Ran $tests tests, $failed failed | |
57 |
|
70 |
General Comments 0
You need to be logged in to leave comments.
Login now