mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 02:17:34 +00:00
Tests: Optionally switch off 858081 lines of dbg() in test-js
This commit is contained in:
parent
1ef26e0c09
commit
86e2703123
1 changed files with 4 additions and 0 deletions
|
@ -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.add_option(print_times, "Show duration of each test", "show-time", 't');
|
||||||
args_parser.parse(argc, argv);
|
args_parser.parse(argc, argv);
|
||||||
|
|
||||||
|
if (getenv("DISABLE_DBG_OUTPUT")) {
|
||||||
|
DebugLogStream::set_enabled(false);
|
||||||
|
}
|
||||||
|
|
||||||
#ifdef __serenity__
|
#ifdef __serenity__
|
||||||
TestRunner("/home/anon/js-tests", print_times).run();
|
TestRunner("/home/anon/js-tests", print_times).run();
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue