Changeset 8e42847 for doc/theses/andrew_beach_MMath/code/test.sh
- Timestamp:
- Sep 8, 2021, 10:42:13 AM (19 months ago)
- Branches:
- enum, forall-pointer-decay, master, pthread-emulation, qualifiedEnum
- Children:
- f26923e
- Parents:
- 031453c
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/andrew_beach_MMath/code/test.sh
r031453c r8e42847 55 55 ) 56 56 57 if [ "-a" = "$1" ]; then # build all57 if [ "-a" = "$1" ]; then 58 58 for file in *.cfa *.cpp *.java; do 59 59 build $file 60 60 done 61 61 exit 0 62 elif [ "-b" = "$1" ]; then # build given62 elif [ "-b" = "$1" ]; then 63 63 for file in "${@:2}"; do 64 64 build $file 65 65 done 66 66 exit 0 67 elif [ "-c" = "$1" ]; then # clean all67 elif [ "-c" = "$1" ]; then 68 68 rm $(basename -s ".cfa" -a *.cfa) 69 69 rm $(basename -s ".cpp" -a *.cpp) … … 92 92 raise-empty) 93 93 CFAT="./throw-empty $ITERS_1M $STACK_HEIGHT" 94 CFAR="./resume-empty $ITERS_1 M $STACK_HEIGHT"94 CFAR="./resume-empty $ITERS_10M $STACK_HEIGHT" 95 95 CPP="./throw-empty-cpp $ITERS_1M $STACK_HEIGHT" 96 96 JAVA="java ThrowEmpty $ITERS_1M $STACK_HEIGHT" … … 99 99 raise-detor) 100 100 CFAT="./throw-detor $ITERS_1M $STACK_HEIGHT" 101 CFAR="./resume-detor $ITERS_1 M $STACK_HEIGHT"101 CFAR="./resume-detor $ITERS_10M $STACK_HEIGHT" 102 102 CPP="./throw-detor-cpp $ITERS_1M $STACK_HEIGHT" 103 103 JAVA=unsupported … … 106 106 raise-finally) 107 107 CFAT="./throw-finally $ITERS_1M $STACK_HEIGHT" 108 CFAR="./resume-finally $ITERS_1 M $STACK_HEIGHT"108 CFAR="./resume-finally $ITERS_10M $STACK_HEIGHT" 109 109 CPP=unsupported 110 110 JAVA="java ThrowFinally $ITERS_1M $STACK_HEIGHT" … … 113 113 raise-other) 114 114 CFAT="./throw-other $ITERS_1M $STACK_HEIGHT" 115 CFAR="./resume-other $ITERS_1 M $STACK_HEIGHT"115 CFAR="./resume-other $ITERS_10M $STACK_HEIGHT" 116 116 CPP="./throw-other-cpp $ITERS_1M $STACK_HEIGHT" 117 117 JAVA="java ThrowOther $ITERS_1M $STACK_HEIGHT" … … 134 134 cond-match-all) 135 135 CFAT="./cond-catch $ITERS_10M 1" 136 CFAR="./cond-fixup $ITERS_10 M 1"136 CFAR="./cond-fixup $ITERS_100M 1" 137 137 CPP="./cond-catch-cpp $ITERS_10M 1" 138 138 JAVA="java CondCatch $ITERS_10M 1" … … 141 141 cond-match-none) 142 142 CFAT="./cond-catch $ITERS_10M 0" 143 CFAR="./cond-fixup $ITERS_10 M 0"143 CFAR="./cond-fixup $ITERS_100M 0" 144 144 CPP="./cond-catch-cpp $ITERS_10M 0" 145 145 JAVA="java CondCatch $ITERS_10M 0" … … 167 167 168 168 case "$TEST_LANG" in 169 170 171 172 173 174 175 176 169 cfa-t) CALL="$CFAT";; 170 cfa-r) CALL="$CFAR";; 171 cpp) CALL="$CPP";; 172 java) CALL="$JAVA";; 173 python) CALL="$PYTHON";; 174 *) 175 echo "No such language: $TEST_LANG" >&2 176 exit 2 177 177 ;; 178 178 esac
Note: See TracChangeset
for help on using the changeset viewer.