Use test result to pass the tests

This commit is contained in:
Rodrigo Arias 2024-08-27 14:32:39 +02:00
parent 8b491f519b
commit 2e2ba5b996
2 changed files with 3 additions and 3 deletions

View File

@ -11,9 +11,9 @@ END {
printf "Test summary:\n"
printf " Bootrom: %s\n", bootrom_ok ? "OK" : "FAIL";
printf " OpenSBI: %s\n", opensbi_ok ? "OK" : "FAIL";
#printf " Result: %s\n", test_ok ? "OK" : "FAIL";
printf " Result: %s\n", test_ok ? "OK" : "FAIL";
if (bootrom_ok && opensbi_ok)
if (test_ok)
exit 0;
else
exit 1;

View File

@ -131,7 +131,7 @@ index 0ae604a..7b1d95e 100644
+
+static void supervisor_trap_entry(void)
+{
+ sbi_printf("\nSupervisor Trap Entry Reached!\n");
+ sbi_printf("\nSupervisor Trap Entry Reached!\nTEST-RESULT-OK\n");
+}
+
+static void do_plic_test(void)