Print test results over serial port

This commit is contained in:
Philipp Oppermann
2019-04-20 18:40:25 +02:00
parent 98a0e605be
commit 1559493802
4 changed files with 56 additions and 4 deletions

View File

@@ -9,6 +9,7 @@ bootloader = "0.6.0"
volatile = "0.2.3"
spin = "0.4.9"
x86_64 = "0.5.2"
uart_16550 = "0.2.0"
[dependencies.lazy_static]
version = "1.0"
@@ -22,5 +23,7 @@ panic = "abort"
[package.metadata.bootimage]
default-target = "x86_64-blog_os.json"
test-args = ["-device", "isa-debug-exit,iobase=0xf4,iosize=0x04"]
test-args = [
"-device", "isa-debug-exit,iobase=0xf4,iosize=0x04", "-serial", "mon:stdio"
]
test-success-exit-code = 33 # (0x10 << 1) | 1