ManyThreads / mythos

Many Threads Operating System
https://manythreads.github.io/mythos/
MIT License
17 stars 4 forks source link

test case event hook #177

Open gypsephi opened 3 years ago

gypsephi commented 3 years ago

Writing all test cases in the init-app degrades the readability and brings compatibility issues for platform specific test (e.g. CGA screen). Hence, it might be reasonable to move all test cases from init.cc to extra files and mcconf-modules which can individually be included in the config files. The init application itself just needs to provide basic infrastructure, such as global kernel objects and heap, and calls all test cases using an event hook.