the framework now handles tests' panics inside qemu

parent 0b586741
Pipeline #1043 passed with stages
in 53 minutes and 52 seconds
......@@ -563,8 +563,14 @@ pub fn run_test(vm: &VM, test_name: &str, tester_name: &str) {
} else if file_content.contains("@#$%FAILED%$#@") {
test_succeeded = 0;
} else {
panic!("Invalid test outcome!");
panic!("\n*_*_*_*_*_Invalid test outcome!*_*_*_*_*_*\n");
}
} else if file_content.contains("assertion failed") {
println!("\n*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_*_");
panic!(
"\n*_*_*_*_*_Panic due to assertion failure \
(Check output.txt for log)!*_*_*_*_*_*\n"
);
} else {
continue;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment