makeCheck() {
cd build
make -j2 check ARGS='-LE regress[1-4]' CVC4_REGRESSION_ARGS='--no-early-exit' || error "BUILD/UNIT/SYSTEM/REGRESSION TEST FAILED"
- }
- makeExamples() {
- cd build
- make -j2 examples || error "COULD NOT BUILD EXAMPLES${normal}";
+ ctest -j2 -L example || error "RUNNING EXAMPLES FAILED"
}
run() {
echo "travis_fold:start:$1"
}
[ -n "$TRAVIS_CVC4" ] && [ -n "$TRAVIS_WITH_LFSC" ] && run contrib/get-lfsc-checker
[ -n "$TRAVIS_CVC4" ] && run configureCVC4
- [ -n "$TRAVIS_CVC4" ] && run makeCheck && run makeExamples
+ [ -n "$TRAVIS_CVC4" ] && run makeCheck
[ -z "$TRAVIS_CVC4" ] && error "Unknown Travis-CI configuration"
echo "travis_fold:end:load_script"
- echo; echo "${green}EVERYTHING SEEMED TO PASS!${normal}"