diff options
| author | Alasdair Armstrong | 2018-02-07 19:39:32 +0000 |
|---|---|---|
| committer | Alasdair Armstrong | 2018-02-07 19:39:32 +0000 |
| commit | 45519ae89ceef4c838cdd52e2bbaa4174e63f27d (patch) | |
| tree | 712bf85a0020faf1abdf83981c465d5bf774fbdb /test/riscv | |
| parent | 8b13b71a80b89e8494cc550c65d36e2eca7c6c79 (diff) | |
Setup test suite for C backend
Diffstat (limited to 'test/riscv')
| -rwxr-xr-x | test/riscv/run_tests.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/riscv/run_tests.sh b/test/riscv/run_tests.sh index ab121d61..70ce4998 100755 --- a/test/riscv/run_tests.sh +++ b/test/riscv/run_tests.sh @@ -61,9 +61,9 @@ fi for test in $DIR/tests/*.elf; do if $SAILDIR/riscv/riscv "$test" >"${test/.elf/.out}" 2>&1 && grep -q SUCCESS "${test/.elf/.out}" then - green `basename $test` "ok" + green "$(basename $test)" "ok" else - red `basename $test` "fail" + red "$(basename $test)" "fail" fi done |
