diff options
author | Dennis Kobert <dennis@kobert.dev> | 2019-11-09 15:11:50 +0100 |
---|---|---|
committer | Dennis Kobert <dennis@kobert.dev> | 2019-11-09 15:11:50 +0100 |
commit | 26a7561196674b39f9adadcb374f36c503361adb (patch) | |
tree | 3031e026feae853f7c46b91975beaa4e20cf755c /kernel/tests/test01.rs | |
parent | b17a0a41bea7789178919f4a0999ea8519e1f897 (diff) |
Add basic tests
Diffstat (limited to 'kernel/tests/test01.rs')
-rw-r--r-- | kernel/tests/test01.rs | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/kernel/tests/test01.rs b/kernel/tests/test01.rs deleted file mode 100644 index 933d689..0000000 --- a/kernel/tests/test01.rs +++ /dev/null @@ -1,25 +0,0 @@ -#![no_main] -#![feature(compiler_builtins_lib)] -#![feature(custom_test_frameworks)] -#![feature(abi_x86_interrupt)] -#![feature(panic_info_message)] -#![test_runner(crate::testing::serial_test_runner)] -#![no_std] - -use kernel; -use kernel::io::qemu; - -#[no_mangle] -extern "C" fn _start() -> ! { - kernel::io::panic_screen::show(Some(&format_args!("hey bro"))); - - - loop {} -} - -#[cfg(test)] -#[panic_handler] -#[no_mangle] -extern "C" fn panic_handler(info: &core::panic::PanicInfo) -> ! { - loop {} -} |