Skip to content
Open
Prev Previous commit
Next Next commit
(hopefully) made run_all_tests.sh more portable
	- I hope this works for everybody else, but I think it should
  • Loading branch information
jeff-dh committed May 19, 2021
commit 1ece137e5802b4486405e6d3975067e53758fff9
5 changes: 3 additions & 2 deletions solid/test/run_all_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
cd $DIR

export PYTHONPATH="../../":$PYTHONPATH
# Run all tests. Note that unittest's built-in discovery doesn't run the dynamic
# testcase generation they contain
for i in test_*.py;
do
echo $i;
python $i;
python3 $i;
echo
done


# revert to original dir
cd -
cd -