MCPcopy Create free account
hub / github.com/bendudson/EuraliOS / test_runner

Function test_runner

kernel/src/lib.rs:61–67  ·  view source on GitHub ↗
(tests: &[&dyn Testable])

Source from the content-addressed store, hash-verified

59}
60
61pub fn test_runner(tests: &[&dyn Testable]) {
62 serial_println!("Running {} tests", tests.len());
63 for test in tests {
64 test.run();
65 }
66 exit_qemu(QemuExitCode::Success);
67}
68
69pub fn test_panic_handler(info: &PanicInfo) -> ! {
70 serial_println!("[failed]\n");

Callers

nothing calls this directly

Calls 2

exit_qemuFunction · 0.85
runMethod · 0.45

Tested by

no test coverage detected