Added IDT unit and run-time tests
This commit is contained in:
parent
9d9c5d6a39
commit
4d9b963310
12 changed files with 424 additions and 109 deletions
|
@ -91,8 +91,8 @@ pub fn build(b: *Builder) !void {
|
|||
const script = b.addSystemCommand([_][]const u8{ "python3", "test/rt-test.py", "x86", b.zig_exe });
|
||||
test_step.dependOn(&script.step);
|
||||
} else {
|
||||
const mock_path = "\"" ++ "../../test/mock/kernel/" ++ "\"";
|
||||
const arch_mock_path = "\"" ++ "../../../../test/mock/kernel/" ++ "\"";
|
||||
const mock_path = "\"../../test/mock/kernel/\"";
|
||||
const arch_mock_path = "\"../../../../test/mock/kernel/\"";
|
||||
const modes = [_]Mode{ Mode.Debug, Mode.ReleaseFast, Mode.ReleaseSafe, Mode.ReleaseSmall };
|
||||
inline for (modes) |test_mode| {
|
||||
const mode_str = switch (test_mode) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue