Changeset 37c6f77 for doc/theses/andrew_beach_MMath/code/test.sh
- Timestamp:
- Jul 13, 2021, 9:30:55 AM (3 years ago)
- Branches:
- ADT, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 12a1013, 801978b
- Parents:
- 9345684 (diff), 6f27b67 (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
-
doc/theses/andrew_beach_MMath/code/test.sh
r9345684 r37c6f77 38 38 done 39 39 exit 0 40 elif [ 2 -eq "$#" ]; then 41 TEST_LANG="$1" 42 TEST_CASE="$2" 43 else 44 echo "Unknown call pattern." >&2 45 exit 2 40 46 fi 41 47 … … 46 52 } 47 53 48 case "$ 2" in54 case "$TEST_CASE" in 49 55 cond-match-all) 50 56 CFAT="./cond-catch $ITERATIONS 1" … … 96 102 ;; 97 103 *) 98 echo "No such test ." >&2104 echo "No such test: $TEST_CASE" >&2 99 105 exit 2 100 106 ;; 101 107 esac 102 108 103 case "$ 1" in109 case "$TEST_LANG" in 104 110 cfa-t) echo $CFAT; $CFAT;; 105 111 cfa-r) echo $CFAR; $CFAR;; 106 112 cpp) echo $CPP; $CPP;; 107 113 java) echo $JAVA; $JAVA;; 114 *) 115 echo "No such language: $TEST_LANG" >&2 116 exit 2 108 117 esac
Note: See TracChangeset
for help on using the changeset viewer.