No longer hardwiring subfolders of test

Hid build errors on should fail tests
This commit is contained in:
Darrell Wright
2017-11-27 00:00:14 -05:00
committed by Howard Hinnant
parent 748a1fd5a9
commit 53629fa30c
2 changed files with 15 additions and 14 deletions

View File

@@ -1,10 +1,10 @@
#!/bin/bash
export TEST_BIN_NAME=$1
echo "Building ${TEST_BIN_NAME}"
#echo "Building ${TEST_BIN_NAME}"
shift 1
export BUILD_COMMAND=$@
echo "Build command: ${BUILD_COMMAND}"
eval ${BUILD_COMMAND} #>/dev/null 2>/dev/null
#echo "Build command: ${BUILD_COMMAND}"
eval ${BUILD_COMMAND} >/dev/null 2>/dev/null
if [ $? -eq 0 ]; then
echo -ne "#!/bin/bash\nexit 1;" > ${TEST_BIN_NAME}