forked from rarias/nixos-riscv
Use test result to pass the tests
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user