1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-01-13 15:18:09 +00:00
antonblanchard.microwatt/tests/update_console_tests
Iago Caran Aquino de1bf10114 tests/pmu: Add load/store completed, instruction count and cycle count tests
Signed-off-by: Iago Caran Aquino <iago.caran@gmail.com>
2022-07-19 20:21:33 -03:00

15 lines
340 B
Bash
Executable File

#!/bin/bash
#
# Script to update console related tests from source
#
for i in sc illegal decrementer xics privileged mmu misc modes pmu reservation trace fpu spr_read ; 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