Added run time tests for PIT

Also changed the TTY a bit
Merged new run time testing


Code layout change


Feedback


Feedback 2
This commit is contained in:
ED 2019-11-06 21:21:27 +00:00
parent 5d59294c17
commit 419d8ad585
5 changed files with 469 additions and 110 deletions

View file

@ -10,7 +10,10 @@ def get_test_cases(TestCase):
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("PIT init", [r"Init pit"]),
TestCase("PIT init", [r".+"], r"\[DEBUG\] "),
TestCase("PIT init", [r"Done"]),
TestCase("PIT tests", [r"PIT: Tested init", r"PIT: Tested wait ticks", r"PIT: Tested wait ticks 2"]),
TestCase("Paging init", [r"Init paging", r"Done"]),
TestCase("Paging tests", [r"Paging: Tested accessing unmapped memory", r"Paging: Tested accessing mapped memory"]),
TestCase("Syscalls init", [r"Init syscalls", r"Done"]),