2019-09-29 13:55:34 +02:00
|
|
|
def get_test_cases(TestCase):
|
2019-06-30 00:50:44 +02:00
|
|
|
return [
|
|
|
|
TestCase("GDT init", [r"Init gdt", r"Done"]),
|
2019-09-16 23:19:21 +02:00
|
|
|
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-10-01 18:59:42 +02:00
|
|
|
TestCase("PIC init", [r"Init pic", r"Done"]),
|
|
|
|
TestCase("PIC tests", [r"PIC: Tested masking"]),
|
2019-10-05 21:46:31 +02:00
|
|
|
TestCase("ISR init", [r"Init isr", r"Done"]),
|
|
|
|
TestCase("ISR tests", [r"ISR: Tested registered handlers", r"ISR: Tested opened IDT entries"]),
|
2019-10-06 18:40:12 +02:00
|
|
|
TestCase("IRQ init", [r"Init irq", r"Done"]),
|
|
|
|
TestCase("IRQ tests", [r"IRQ: Tested registered handlers", r"IRQ: Tested opened IDT entries"]),
|
2019-10-01 18:59:42 +02:00
|
|
|
TestCase("PIT init", [r"Init pit", r".+", r"Done"]),
|
2019-09-08 23:13:13 +02:00
|
|
|
TestCase("Paging init", [r"Init paging", r"Done"]),
|
|
|
|
TestCase("Paging tests", [r"Paging: Tested accessing unmapped memory", r"Paging: Tested accessing mapped memory"]),
|
2019-10-01 18:59:42 +02:00
|
|
|
TestCase("Syscalls init", [r"Init syscalls", r"Done"]),
|
2019-07-31 23:41:22 +02:00
|
|
|
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
|
|
|
]
|