[unittests] add RUN_UNITTESTS_AT_BOOT build option

This will cause the system to automatically run all of the unit tests
after a short pause on boot. Will be used by an automatic test script.

At the moment there aren't a lot of unit tests in the list, but this
should greatly increase the utility of them since they'll be
automatically run.
This commit is contained in:
Travis Geiselbrecht
2025-10-01 23:54:54 -07:00
parent be07027fe1
commit 976cd70f4f
4 changed files with 61 additions and 38 deletions

View File

@@ -27,6 +27,7 @@ export LKINC
export BUILDROOT
export DEFAULT_PROJECT
export TOOLCHAIN_PREFIX
export RUN_UNITTESTS_AT_BOOT
# veneer makefile that calls into the engine with lk as the build root
# if we're the top level invocation, call ourselves with additional args