Fix failure detection for python tests. No issue #
authorTom Clegg <tom@curoverse.com>
Tue, 19 Aug 2014 20:26:32 +0000 (16:26 -0400)
committerTom Clegg <tom@curoverse.com>
Tue, 19 Aug 2014 20:26:32 +0000 (16:26 -0400)
jenkins/run-tests.sh

index 4c5f070c393f6ddb57829bf23d9ee694263387db..d472965501cd2c7bbd77e5d277e05860de0fbd6d 100755 (executable)
@@ -235,7 +235,9 @@ test_python_sdk() {
 
     cd "$WORKSPACE/sdk/python" \
         && python setup.py test
+    r=$?
     easy_install *.egg
+    return $r
 }
 do_test python_sdk
 
@@ -243,7 +245,9 @@ test_fuse() {
     # Install test dependencies here too, in case run_test_server needs them.
     cd "$WORKSPACE/services/fuse" \
         && python setup.py test
+    r=$?
     easy_install *.egg
+    return $r
 }
 do_test fuse