Added unit and runtime tests

Also changed up panic call
Fixed rebasing


Feedback
This commit is contained in:
ED 2019-10-06 17:40:12 +01:00
parent cec688d279
commit 2906d6ca13
7 changed files with 339 additions and 49 deletions

View file

@ -8,6 +8,8 @@ def get_test_cases(TestCase):
TestCase("PIC tests", [r"PIC: Tested masking"]),
TestCase("ISR init", [r"Init isr", r"Done"]),
TestCase("ISR tests", [r"ISR: Tested registered handlers", r"ISR: Tested opened IDT entries"]),
TestCase("IRQ init", [r"Init irq", r"Done"]),
TestCase("IRQ tests", [r"IRQ: Tested registered handlers", r"IRQ: Tested opened IDT entries"]),
TestCase("PIT init", [r"Init pit", r".+", r"Done"]),
TestCase("Paging init", [r"Init paging", r"Done"]),
TestCase("Paging tests", [r"Paging: Tested accessing unmapped memory", r"Paging: Tested accessing mapped memory"]),