Changeset 4df85197 for src/examples/runTests.sh
- Timestamp:
- Jun 1, 2016, 5:59:00 PM (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:
- 77f347d, be945ac, e24f13a
- Parents:
- 83de11e (diff), 3d1e617 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/examples/runTests.sh
r83de11e r4df85197 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.