1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-01-25 11:36:17 +00:00
antonblanchard.microwatt/tests/update_console_tests
Michael Neuling 0076f8bf1d XICS test case
Checks interrupt masking and priorities.

Adds to `make test_xics` which is run in `make check` also.

Signed-off-by: Michael Neuling <mikey@neuling.org>
2020-04-23 16:36:49 +10:00

15 lines
279 B
Bash
Executable File

#!/bin/bash
#
# Script to update console related tests from source
#
for i in sc illegal decrementer xics ; do
cd $i
make
cd -
cp $i/$i.bin test_$i.bin
ln -s test_$i.bin main_ram.bin
../core_tb > /dev/null 2> test_$i.console_out
rm main_ram.bin
done