Skip to content

Commit

Permalink
Add -C compact mode switch to run-test262 (#560)
Browse files Browse the repository at this point in the history
Turns on the reporting mode that is the default on the CI.
  • Loading branch information
bnoordhuis authored Sep 28, 2024
1 parent d0df61d commit 4d4dbcf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions run-test262.c
Original file line number Diff line number Diff line change
Expand Up @@ -1995,6 +1995,7 @@ void help(void)
"-s run tests in strict mode, skip @nostrict tests\n"
"-E only run tests from the error file\n"
"-u update error file\n"
"-C compact output mode; enabled when stderr is not a tty\n"
"-v verbose: output error messages\n"
"-T duration display tests taking more than 'duration' ms\n"
"-c file read configuration from 'file'\n"
Expand Down Expand Up @@ -2066,6 +2067,8 @@ int main(int argc, char **argv)
update_errors++;
} else if (str_equal(arg, "-v")) {
verbose++;
} else if (str_equal(arg, "-C")) {
compact++;
} else if (str_equal(arg, "-c")) {
load_config(get_opt_arg(arg, argv[optind++]), ignore);
} else if (str_equal(arg, "-d")) {
Expand Down

0 comments on commit 4d4dbcf

Please sign in to comment.