(tests: &[&dyn Testable])
| 59 | } |
| 60 | |
| 61 | pub 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 | |
| 69 | pub fn test_panic_handler(info: &PanicInfo) -> ! { |
| 70 | serial_println!("[failed]\n"); |