diff --git a/tests/basic_boot.rs b/tests/basic_boot.rs index 52ff9810..d737b4da 100644 --- a/tests/basic_boot.rs +++ b/tests/basic_boot.rs @@ -1,7 +1,7 @@ #![no_std] #![no_main] #![feature(custom_test_frameworks)] -#![test_runner(crate::test_runner)] +#![test_runner(blog_os::test_runner)] #![reexport_test_harness_main = "test_main"] use core::panic::PanicInfo; @@ -13,11 +13,7 @@ pub extern "C" fn _start() -> ! { loop {} } -fn test_runner(tests: &[&dyn Fn()]) { - unimplemented!(); -} - #[panic_handler] fn panic(info: &PanicInfo) -> ! { - loop {} + blog_os::test_panic_handler(info) }