Add test architecture

This commit is contained in:
Jeremy Soller 2016-08-14 14:59:18 -06:00
parent 1c9b6361c9
commit 29b6544d8f
9 changed files with 108 additions and 7 deletions

9
kernel/tests/mod.rs Normal file
View file

@ -0,0 +1,9 @@
use arch::interrupt::{set_interrupts, halt};
#[test]
fn halt_with_interrupts() {
unsafe {
set_interrupts();
halt();
}
}