diff options
author | Yann Herklotz <ymherklotz@gmail.com> | 2017-03-23 20:57:32 +0000 |
---|---|---|
committer | Yann Herklotz <ymherklotz@gmail.com> | 2017-03-23 20:57:32 +0000 |
commit | 64d1100ea5a2f749db3a635d5fb2a688a551ecb7 (patch) | |
tree | 1acde757b3a39d0f7536faa42b1366ccb4b10f37 /run_test_deliverable.sh | |
parent | 5e2dbac8d63b3a0031069495a0e1dafe825aba45 (diff) | |
download | Compiler-64d1100ea5a2f749db3a635d5fb2a688a551ecb7.tar.gz Compiler-64d1100ea5a2f749db3a635d5fb2a688a551ecb7.zip |
Adding more tests and fixing
Diffstat (limited to 'run_test_deliverable.sh')
-rwxr-xr-x | run_test_deliverable.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/run_test_deliverable.sh b/run_test_deliverable.sh index 03770a0..74a285d 100755 --- a/run_test_deliverable.sh +++ b/run_test_deliverable.sh @@ -1,17 +1,18 @@ #!/bin/bash -if [[ -z "$1" ]]; then +if [[ "$1" -eq 0 ]]; then COMPILER=bin/c_compiler - #COMPILER=test_deliverable/c_compiler_ref.sh -else +elif [[ "$1" -eq 1 ]]; then COMPILER=bin/c_compiler make clean make -B ${COMPILER} +elif [[ "$1" -eq 2 ]]; then + COMPILER=test_deliverable/c_compiler_ref.sh fi echo "" echo "========================================" -echo " Testing compiler" +echo " Testing compiler : ${COMPILER}" echo "" PASSED=0 |