To protect your data, the CISO officer has suggested users to enable GitLab 2FA as soon as possible.

Commit d60305f9 authored by Javad Ebrahimian Amiri's avatar Javad Ebrahimian Amiri
Browse files

the framework now handles tests' panics inside qemu

parent 0b586741
......@@ -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