diff options
author | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-03-21 13:44:22 -0400 |
---|---|---|
committer | Quentin Carbonneaux <quentin.carbonneaux@yale.edu> | 2016-03-21 13:44:22 -0400 |
commit | 58e0505068d8d4decf9db2f96cb94743002b97c9 (patch) | |
tree | 9ee9a8f5fc9fdcbec706cb12604a46808dd97677 /lisc/tools/abitest.sh | |
parent | 890e85c8d1badedf4922260d369ba629fd4327ff (diff) | |
download | roux-58e0505068d8d4decf9db2f96cb94743002b97c9.tar.gz |
compile tests with debug options
Diffstat (limited to 'lisc/tools/abitest.sh')
-rwxr-xr-x | lisc/tools/abitest.sh | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/lisc/tools/abitest.sh b/lisc/tools/abitest.sh index 164aff2..096c4ef 100755 --- a/lisc/tools/abitest.sh +++ b/lisc/tools/abitest.sh @@ -16,8 +16,14 @@ then fi $OCAML tools/abi.ml $TMP c ssa - ./$QBE -o $TMP/callee.s $TMP/callee.ssa || failure "qbe" - c99 -o $TMP/abitest $TMP/caller.c $TMP/callee.s || failure "cc + linking" - $TMP/abitest || failure "runtime" + + ./$QBE -o $TMP/callee.s $TMP/callee.ssa + || failure "qbe" + + c99 -g -o $TMP/abitest $TMP/caller.c $TMP/callee.s + || failure "cc + linking" + + $TMP/abitest + || failure "runtime" rm -fr $TMP |