[ci] Fix pmp_smoke_test

It was renamed pmp_smoke_test from pmp_exception_test in the software
build but not the actual test run
This commit is contained in:
Greg Chadwick 2022-09-28 11:59:48 +01:00 committed by Greg Chadwick
parent 4084dc4a46
commit 1313104bad

View file

@ -88,16 +88,17 @@ steps:
echo "CoreMark succeeded"
# Run pmp_exception_test if the config supports PMP
# Run pmp_smoke_test if the config supports PMP
if ./util/ibex_config.py ${{ config }} query_fields PMPEnable | grep -q 'PMPEnable=1'; then
echo "Running pmp_exception_test"
build/lowrisc_ibex_ibex_simple_system_cosim_0/sim-verilator/Vibex_simple_system --meminit=ram,examples/sw/simple_system/pmp_exception_test/pmp_exception_test.elf
echo "Running pmp_smoke_test"
build/lowrisc_ibex_ibex_simple_system_cosim_0/sim-verilator/Vibex_simple_system --meminit=ram,examples/sw/simple_system/pmp_smoke_test/pmp_smoke_test.elf
if [ $? != 0 ]; then
echo -n "##vso[task.logissue type=error]"
echo "Running pmp_exception_test failed co-simulation testing"
echo "Running pmp_smoke_test failed co-simulation testing"
exit 1
fi
echo "pmp_smoke_test succeeded"
else
echo "PMP not supported on ${{ config }}, skipping pmp_exception_test"
echo "PMP not supported on ${{ config }}, skipping pmp_smoke_test"
fi
displayName: Run Verilator co-sim tests for for ${{ config }}