Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 075ad39ae9d61b4a9b3f7fd1e162ef7989a35efb
      
https://github.com/WebKit/WebKit/commit/075ad39ae9d61b4a9b3f7fd1e162ef7989a35efb
  Author: Keith Miller <[email protected]>
  Date:   2026-01-13 (Tue, 13 Jan 2026)

  Changed paths:
    M Tools/Scripts/webkitruby/jsc-stress-test-writer-default.rb

  Log Message:
  -----------
  [JSC] Output repro command options when a test fails
https://bugs.webkit.org/show_bug.cgi?id=305397
rdar://168069780

Reviewed by Dan Hecht.

Right now when a test run fails the test runner will write a
reproduction script to a file. The problem is that most of the time in
order to debug the issue I want to change options and/or run under lldb.
Both of which are made harder by it being in an opaque script. Setting
options via environment variables doesn't always work because the CLI
passed options in the repro script will override the environment.

Additionally, that script doesn't use your local build instead it uses
the one copied into the test run so changes to your code won't be
reflected.

A much simpler option, which this PR takes is to log the invocation to
stderr so that devs can copy paste it to their preferred debugging
session/tooling.

The output will look something like (when a test fails):
```
stress/json-stringify-inspector-check.js.no-llint: Repro command:  jsc
    --validateOptions=true --useFTLJIT=false --useFunctionDotArguments=true
    --validateExceptionChecks=true --useDollarVM=true
    --maxPerThreadStackUsage=1572864 --useLLInt=false
    json-stringify-inspector-check.js
````

Canonical link: https://commits.webkit.org/305549@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to