diff options
author | ?ric Araujo <merwok@netwok.org> | 2011-11-11 10:39:36 +0100 |
---|---|---|
committer | ?ric Araujo <merwok@netwok.org> | 2011-11-11 10:39:36 +0100 |
commit | 097b589846487d69aea605e219171bfe87e2cd95 (patch) | |
tree | da687608f64d2df91ccb28b2c29c4eaf22d5e84a /tests.sh | |
parent | 9efef6c0eb1a438675e37c421c09430d013a1505 (diff) | |
download | disutils2-097b589846487d69aea605e219171bfe87e2cd95.tar.gz |
Propagate error code from Python
Diffstat (limited to 'tests.sh')
-rwxr-xr-x | tests.sh | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -5,7 +5,7 @@ python2.4 -Wd runtests.py -q if [ $? -ne 0 ];then echo Failed, re-running python2.4 -Wd runtests.py - exit 1 + exit $? else echo Success fi @@ -15,7 +15,7 @@ python2.5 -Wd runtests.py -q if [ $? -ne 0 ];then echo Failed, re-running python2.5 -Wd runtests.py - exit 1 + exit $? else echo Success fi @@ -25,7 +25,7 @@ python2.6 -Wd runtests.py -q if [ $? -ne 0 ];then echo Failed, re-running python2.6 -Wd runtests.py - exit 1 + exit $? else echo Success fi @@ -35,14 +35,14 @@ python2.7 -Wd -bb -3 runtests.py -q if [ $? -ne 0 ];then echo Failed, re-running python2.7 -Wd -bb -3 runtests.py - exit 1 + exit $? else echo Success fi if [ $? -ne 0 ];then echo Failed - exit 1 + exit $? else echo "Good job, commit now! (or add tests)" fi |