add tests

This commit is contained in:
mii443
2025-04-13 15:14:20 +09:00
parent 5e21837d31
commit 2284098276
8 changed files with 265 additions and 3 deletions

View File

@ -7,7 +7,25 @@ edition = "2018"
bootloader = "0.9"
volatile = "0.2.6"
spin = "0.5.2"
x86_64 = "0.14.2"
uart_16550 = "0.2.0"
[dependencies.lazy_static]
version = "1.0"
features = ["spin_no_std"]
[package.metadata.bootimage]
test-args = [
"-device",
"isa-debug-exit,iobase=0xf4,iosize=0x04",
"-serial",
"stdio",
"-display",
"none",
]
test-success-exit-code = 33
test-timeout = 300
[[test]]
name = "should_panic"
harness = false