diff --git a/hudson-sflphone-script.sh b/hudson-sflphone-script.sh
index b1e29afaaca967b0e3288385a25245300f17fec3..c7550d770c2f3fa90d49c693003722f709aedc65 100755
--- a/hudson-sflphone-script.sh
+++ b/hudson-sflphone-script.sh
@@ -27,8 +27,8 @@ popd
 pushd daemon/test
 # Remove the previous XML test file
 rm -rf $XML_RESULTS
-make check || exit 1
-./run_tests.sh
+make check
+./run_tests.sh || exit 1
 popd
 
 # Compile the client