Fix post test hook script

Change-Id: I5ea68cd3a51f0cc9f815ed7ed28d012884c2366d
This commit is contained in:
Terry Howe 2015-12-08 12:13:42 -07:00
parent 5eca21ecdb
commit a803527c36

View File

@ -17,12 +17,14 @@ ${DIR}/create_yaml.sh
cd ${DIR} cd ${DIR}
echo '=functional==============================================' echo '=functional=============================================='
tox -e functional tox -e functional
FUNCTIONAL_RESULT=$? FUNCTIONAL_RESULT=\$?
echo '=examples================================================' echo '=examples================================================'
tox -e examples tox -e examples
EXAMPLES_RESULT=$? EXAMPLES_RESULT=\$?
echo '=========================================================' 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 # TODO(thowe) For now we are going to ignore tests failures
# It is easier to change this script than the gate. The magic # It is easier to change this script than the gate. The magic