mirror of
https://github.com/lowRISC/ibex.git
synced 2025-04-22 21:07:34 -04:00
[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:
parent
4084dc4a46
commit
1313104bad
1 changed files with 6 additions and 5 deletions
|
@ -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 }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue