From 64d1100ea5a2f749db3a635d5fb2a688a551ecb7 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Thu, 23 Mar 2017 20:57:32 +0000 Subject: Adding more tests and fixing --- run_test_deliverable.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'run_test_deliverable.sh') 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 -- cgit