diff options
-rw-r--r-- | AK/TestSuite.h | 2 | ||||
-rw-r--r-- | Base/etc/SystemServer.ini | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/AK/TestSuite.h b/AK/TestSuite.h index 45799bd102..0f062db9a7 100644 --- a/AK/TestSuite.h +++ b/AK/TestSuite.h @@ -140,7 +140,7 @@ int TestSuite::main(const String& suite_name, int argc, char** argv) Core::ArgsParser args_parser; - bool do_tests_only = false; + bool do_tests_only = getenv("TESTS_ONLY") != nullptr; bool do_benchmarks_only = false; bool do_list_cases = false; const char* search_string = "*"; diff --git a/Base/etc/SystemServer.ini b/Base/etc/SystemServer.ini index 52cc8207bf..c6b6c676ed 100644 --- a/Base/etc/SystemServer.ini +++ b/Base/etc/SystemServer.ini @@ -155,7 +155,7 @@ User=anon [TestRunner@ttyS0] Executable=/home/anon/tests/run-tests-and-shutdown.sh StdIO=/dev/ttyS0 -Environment=DO_SHUTDOWN_AFTER_TESTS=1 TERM=xterm PATH=/bin:/usr/bin:/usr/local/bin +Environment=DO_SHUTDOWN_AFTER_TESTS=1 TERM=xterm PATH=/bin:/usr/bin:/usr/local/bin TESTS_ONLY=1 User=anon WorkingDirectory=/home/anon BootModes=self-test |