From 72d1e56d335ed7b8775d1d47e8de2e09ce20ac99 Mon Sep 17 00:00:00 2001 From: Doug Ilijev Date: Wed, 11 May 2016 13:27:20 -0700 Subject: [PATCH] Remove exception for missing clang 3.8 toolchain. --- build.sh | 6 ++---- test/runtests.sh | 3 +-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/build.sh b/build.sh index b92f109dc21..5ec30741cd4 100755 --- a/build.sh +++ b/build.sh @@ -111,8 +111,7 @@ if [[ ${#_CXX} > 0 || ${#_CC} > 0 ]]; then if [[ ! -f $_CXX || ! -f $_CC ]]; then echo "ERROR: Custom compiler not found on given path" - # TODO change this to exit 1 once clang requirement on build machines is satisfied - exit 0 + exit 1 fi else RET_VAL=$(SAFE_RUN 'c++ --version') @@ -127,8 +126,7 @@ else echo "" echo "You could use clang++ from a custom location." PRINT_USAGE - # TODO change this to exit 1 once clang requirement on build machines is satisfied - exit 0 + exit 1 fi fi fi diff --git a/test/runtests.sh b/test/runtests.sh index 23c02539d25..fcf388304f0 100755 --- a/test/runtests.sh +++ b/test/runtests.sh @@ -13,8 +13,7 @@ hello_path="$test_path/Basics/hello.js" if [ ! -f $ch_path ]; then echo 'ch not found- exiting' - # TODO change this to exit 1 once clang requirement on build machines is satisfied - exit 0 + exit 1 fi output=`$ch_path $hello_path 2>&1 | tail -n 1`