Skip to content

Commit 4d4dbcf

Browse files
authored
Add -C compact mode switch to run-test262 (#560)
Turns on the reporting mode that is the default on the CI.
1 parent d0df61d commit 4d4dbcf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

run-test262.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1995,6 +1995,7 @@ void help(void)
19951995
"-s run tests in strict mode, skip @nostrict tests\n"
19961996
"-E only run tests from the error file\n"
19971997
"-u update error file\n"
1998+
"-C compact output mode; enabled when stderr is not a tty\n"
19981999
"-v verbose: output error messages\n"
19992000
"-T duration display tests taking more than 'duration' ms\n"
20002001
"-c file read configuration from 'file'\n"
@@ -2066,6 +2067,8 @@ int main(int argc, char **argv)
20662067
update_errors++;
20672068
} else if (str_equal(arg, "-v")) {
20682069
verbose++;
2070+
} else if (str_equal(arg, "-C")) {
2071+
compact++;
20692072
} else if (str_equal(arg, "-c")) {
20702073
load_config(get_opt_arg(arg, argv[optind++]), ignore);
20712074
} else if (str_equal(arg, "-d")) {

0 commit comments

Comments
 (0)