summaryrefslogtreecommitdiff
path: root/test/riscv/run_tests.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/riscv/run_tests.sh')
-rwxr-xr-xtest/riscv/run_tests.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/riscv/run_tests.sh b/test/riscv/run_tests.sh
index dd19bd72..ab121d61 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 "$test" "ok"
+ green `basename $test` "ok"
else
- red "$test" "fail"
+ red `basename $test` "fail"
fi
done