From a803527c36fa4b81ea07c7dcd2610c77bacc268b Mon Sep 17 00:00:00 2001 From: Terry Howe Date: Tue, 8 Dec 2015 12:13:42 -0700 Subject: [PATCH] Fix post test hook script Change-Id: I5ea68cd3a51f0cc9f815ed7ed28d012884c2366d --- post_test_hook.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) 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