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.
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.