Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add -C compact mode switch to run-test262 #560

Merged
merged 1 commit into from
Sep 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add -C compact mode switch to run-test262
Turns on the reporting mode that is the default on the CI.
  • Loading branch information
bnoordhuis committed Sep 28, 2024
commit 4a0f0aa5cd4c6874bab8ee73c05999a6a3e6f216
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
Loading