Use test result to pass the tests
This commit is contained in:
parent
8b491f519b
commit
2e2ba5b996
@ -11,9 +11,9 @@ END {
|
|||||||
printf "Test summary:\n"
|
printf "Test summary:\n"
|
||||||
printf " Bootrom: %s\n", bootrom_ok ? "OK" : "FAIL";
|
printf " Bootrom: %s\n", bootrom_ok ? "OK" : "FAIL";
|
||||||
printf " OpenSBI: %s\n", opensbi_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;
|
exit 0;
|
||||||
else
|
else
|
||||||
exit 1;
|
exit 1;
|
||||||
|
@ -131,7 +131,7 @@ index 0ae604a..7b1d95e 100644
|
|||||||
+
|
+
|
||||||
+static void supervisor_trap_entry(void)
|
+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)
|
+static void do_plic_test(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user