pluto/test/kernel/arch/x86/rt-test.py

11 lines
638 B
Python
Raw Normal View History

def get_test_cases(TestCase):
2019-06-30 00:50:44 +02:00
return [
TestCase("GDT init", [r"Init gdt", r"Done"]),
TestCase("GDT tests", [r"GDT: Tested loading GDT"]),
2019-06-30 00:50:44 +02:00
TestCase("IDT init", [r"Init idt", r"Done"]),
2019-09-17 19:24:27 +02:00
TestCase("IDT tests", [r"IDT: Tested loading IDT"]),
2019-07-31 23:41:22 +02:00
TestCase("PIT init", [r"Init pit", r".+", "Done"]),
TestCase("Syscalls init", [r"Init syscalls", "Done"]),
TestCase("Syscall tests", [r"Syscalls: Tested no args", r"Syscalls: Tested 1 arg", r"Syscalls: Tested 2 args", r"Syscalls: Tested 3 args", r"Syscalls: Tested 4 args", r"Syscalls: Tested 5 args"])
2019-06-30 00:50:44 +02:00
]