summaryrefslogtreecommitdiff
path: root/test/riscv
diff options
context:
space:
mode:
authorAlasdair Armstrong2018-09-07 18:44:12 +0100
committerAlasdair Armstrong2018-09-07 18:44:12 +0100
commit13b3fd08c7e572f0e840393006b8e02e5f608dac (patch)
tree92aacd0e243c745108b5b43841034115c6cee129 /test/riscv
parent7d0280d7ad08bbf9e33164c634c538effdd1340b (diff)
Jenkins: Fix Jenkins issue with RISC-V test suite
Diffstat (limited to 'test/riscv')
-rwxr-xr-xtest/riscv/run_tests.sh6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/riscv/run_tests.sh b/test/riscv/run_tests.sh
index d73fa287..512feabf 100755
--- a/test/riscv/run_tests.sh
+++ b/test/riscv/run_tests.sh
@@ -67,8 +67,6 @@ for test in $DIR/tests/*.elf; do
fi
done
-finish_suite "RISCV tests"
-
if make -C $SAILDIR/riscv riscv_c;
then
green "Building RISCV specification to C" "ok"
@@ -77,7 +75,7 @@ else
fi
for test in $DIR/tests/*.elf; do
- sail -elf $test -o ${test%.elf}.bin 2> /dev/null;
+ $SAILDIR/sail -elf $test -o ${test%.elf}.bin 2> /dev/null;
if timeout 5 $SAILDIR/riscv/riscv_c --binary=0x1000,reset_vec.bin --image=${test%.elf}.bin > ${test%.elf}.cout 2>&1 && grep -q SUCCESS ${test%.elf}.cout
then
green "$(basename $test)" "ok"
@@ -86,7 +84,7 @@ for test in $DIR/tests/*.elf; do
fi
done
-finish_suite "RISCV C tests"
+finish_suite "RISCV tests"
printf "</testsuites>\n" >> $DIR/tests.xml