Skip to content

Commit 1ece137

Browse files
committed
(hopefully) made run_all_tests.sh more portable
- I hope this works for everybody else, but I think it should
1 parent 9860be4 commit 1ece137

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

solid/test/run_all_tests.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,16 @@
44
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
55
cd $DIR
66

7+
export PYTHONPATH="../../":$PYTHONPATH
78
# Run all tests. Note that unittest's built-in discovery doesn't run the dynamic
89
# testcase generation they contain
910
for i in test_*.py;
1011
do
1112
echo $i;
12-
python $i;
13+
python3 $i;
1314
echo
1415
done
1516

1617

1718
# revert to original dir
18-
cd -
19+
cd -

0 commit comments

Comments
 (0)