Add examples to the automated testing in travis. Make err-on-fail optional on both examples (disabled during ci)

This commit is contained in:
Mark VanderVoord
2017-04-07 22:22:38 -04:00
parent 07d6714fe2
commit bfdfe944b9
10 changed files with 53 additions and 31 deletions
+2 -2
View File
@@ -14,7 +14,7 @@ all: setup test ${BUILD_DIR}/main run
setup:
mkdir -p ${BUILD_DIR}
mkdir -p ${OBJ}
ruby ../../scripts/create_makefile.rb
ruby ../../scripts/create_makefile.rb --silent
clean:
rm -rf ${BUILD_DIR}
@@ -23,7 +23,7 @@ ${BUILD_DIR}/main: ${SRC_DIR}/main.c ${SRC_DIR}/foo.c
${CC} $< -o $@
run:
./build/main
./build/main || true
test: setup