add test for util.which
* and make runtests.sh dash-compatible for debian-like OS
This commit is contained in:
parent
e7e786b65e
commit
872c2047e5
2 changed files with 10 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
|||
echo "testing with $(python2 -V 2>&1)"
|
||||
python2 $(which nosetests) -v --with-coverage --cover-erase tests/
|
||||
|
||||
if [ $? == 0 ]; then
|
||||
if test $? -eq 0 ; then
|
||||
echo
|
||||
|
||||
echo "testing with $(python3 -V 2>&1)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue