Changeset 353f395 for src/examples
- Timestamp:
- May 31, 2016, 10:21:29 AM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, ctor, deferred_resn, demangler, enum, forall-pointer-decay, gc_noraii, jacob/cs343-translation, jenkins-sandbox, master, memory, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- f43a200
- Parents:
- a6b7480
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/examples/runTests.sh
ra6b7480 r353f395 36 36 make clean > /dev/null 2>&1 37 37 38 ret_val=0 39 38 40 for test in $tests; do 39 41 echo -n " $test" | tee -a $logfile … … 41 43 # build, skipping to next test on error 42 44 if ! make -j 8 $test > tests/$test.make.txt 2>&1; then 45 ret_val=1 43 46 echo -e "\tFAILED with build error:" | tee -a $logfile 44 47 cat tests/$test.make.txt | tee -a $logfile … … 50 53 ./$test < tests/$test.in.txt > tests/$test.run.txt 2>&1 51 54 if ! diff tests/$test.out.txt tests/$test.run.txt > tests/$test.diff.txt; then 55 ret_val=1 52 56 echo -e "\tFAILED with output mismatch:" | tee -a $logfile 53 57 cat tests/$test.diff.txt | tee -a $logfile … … 58 62 echo -e "\tPASSED" | tee -a $logfile 59 63 done 64 65 exit $((ret_val))
Note: See TracChangeset
for help on using the changeset viewer.