No longer hardwiring subfolders of test

Hid build errors on should fail tests
This commit is contained in:
Darrell Wright authored and Howard Hinnant committed 2017-11-27 10:20:14 -05:00
1 parent 748a1fd5a9
commit 53629fa30c
2 files changed
+15 -14

No files matched your search

+3 -3
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}