message: Turn on CTEST_OUTPUT_ON_FAILURE
diff: # 09-12-2016 chang28, build-and-test.sh "clang@3.5.0" "Debug"
  # 09-16-2016 chang28, build-and-test.sh "clang@3.5.0" "Debug" ""
  # 09-19-2016 chang28, the decider has decided to have a configuration file call a main_script file, this is the main_script file, all environment variables are set up in the configuration file.
  +#01-20-2017, chang28, use CTEST_OUTPUT_ON_FAILURE=1 for bamboo testing
  echo main_script version 0.9.3
  echo "Configuring..."
  @@ -30,7 +31,7 @@ fi
  if [ "$TEST" = true ]; then
  echo "Running tests..."
  echo "-----------------------------------------------------------------------"
  - make test ARGS="-T Test -j$JOBS"
  + env CTEST_OUTPUT_ON_FAILURE=1 make test ARGS="-T Test -j$JOBS"
  if [ $? -ne 0 ]; then
  echo "Error: 'make test' failed"
  exit 1
  