#! /bin/bash
set -e
echo "Call Unit Test"
cd $TRAVIS_BUILD_DIR
cd build && make test
# Test output are only shown if failure happened
#! /bin/bash
echo "Call Unit Test"
cd $TRAVIS_BUILD_DIR
cd build
if make test; then
  exit 0
fi
exit -1
# Test output are only shown if failure happened
Update testing script to ensure proper return code
CHG: Update testing script to ensure proper return code
