diff --git a/post_test_hook.sh b/post_test_hook.sh index 33f090e24..b40b0d98a 100755 --- a/post_test_hook.sh +++ b/post_test_hook.sh @@ -17,12 +17,14 @@ ${DIR}/create_yaml.sh cd ${DIR} echo '=functional==============================================' tox -e functional -FUNCTIONAL_RESULT=$? +FUNCTIONAL_RESULT=\$? echo '=examples================================================' tox -e examples -EXAMPLES_RESULT=$? +EXAMPLES_RESULT=\$? echo '=========================================================' -test $FUNCTIONAL_RESULT == 0 -a $EXAMPLES_RESULT == 0 +echo "Functional test result: \$FUNCTIONAL_RESULT" +echo "Examples test result: \$EXAMPLES_RESULT" +test \$FUNCTIONAL_RESULT == 0 -a \$EXAMPLES_RESULT == 0 ! # TODO(thowe) For now we are going to ignore tests failures # It is easier to change this script than the gate. The magic