moving kernel code to kernel/
This commit is contained in:
+3
-3
@@ -4,7 +4,7 @@
|
||||
For each test case it builds the kernel with `-Dtest-case=<name>`, boots it
|
||||
headless in QEMU with the serial port captured to a file, and asserts that the
|
||||
expected marker appears in that output before a timeout. The kernel's serial log
|
||||
is machine-readable (see src/tests.zig and src/arch/*/serial.zig), so no
|
||||
is machine-readable (see src/kernel/tests.zig and src/kernel/arch/*/serial.zig), so no
|
||||
screen-scraping is involved.
|
||||
|
||||
Structured per-architecture so a second CPU (e.g. an AArch64 Raspberry Pi) is a
|
||||
@@ -56,7 +56,7 @@ ARCHES = {
|
||||
"/usr/local/share/qemu/edk2-i386-vars.fd", # macOS Homebrew (Intel)
|
||||
],
|
||||
"efi_app": ("EFI/BOOT/BOOTX64.efi", "BOOTX64.efi"), # (dest in ESP, name in zig-out/bin)
|
||||
"kernel": ("danos", "danos"),
|
||||
"kernel": ("kernel", "kernel"),
|
||||
# Built as a function so we can splice in per-run paths.
|
||||
"qemu_args": lambda a, esp, vars_fd, serial: [
|
||||
"-machine", "q35", "-m", "128M",
|
||||
@@ -71,7 +71,7 @@ ARCHES = {
|
||||
],
|
||||
},
|
||||
# To add an architecture, e.g. "aarch64": provide its qemu binary, firmware,
|
||||
# boot method, and the AArch64 kernel/serial support in src/arch/aarch64/.
|
||||
# boot method, and the AArch64 kernel/serial support in src/kernel/arch/aarch64/.
|
||||
}
|
||||
|
||||
# --- Test cases ------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user