1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 03:37:34 +00:00

Tests: Optionally switch off 858081 lines of dbg() in test-js

This commit is contained in:
Ben Wiederhake 2020-08-28 09:57:35 +02:00 committed by Andreas Kling
parent 1ef26e0c09
commit 86e2703123

View file

@ -569,6 +569,10 @@ int main(int argc, char** argv)
args_parser.add_option(print_times, "Show duration of each test", "show-time", 't');
args_parser.parse(argc, argv);
if (getenv("DISABLE_DBG_OUTPUT")) {
DebugLogStream::set_enabled(false);
}
#ifdef __serenity__
TestRunner("/home/anon/js-tests", print_times).run();
#else