Complete the basic_boot integration test

This commit is contained in:
Philipp Oppermann
2019-04-22 13:20:22 +02:00
parent 48e1f72d23
commit a2d628cabe

View File

@@ -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)
}