Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 26d98b8bbb4953abcc70ff8963dccb193b5f94bd
https://github.com/WebKit/WebKit/commit/26d98b8bbb4953abcc70ff8963dccb193b5f94bd
Author: Nikolas Zimmermann <[email protected]>
Date: 2026-01-05 (Mon, 05 Jan 2026)
Changed paths:
M Tools/Scripts/test262/Runner.pm
Log Message:
-----------
[Tools][WPE][GTK][SDK] Regression from 304672@main: cannot find jsc binary in
webkitperl tests
https://bugs.webkit.org/show_bug.cgi?id=304614
Reviewed by Fujii Hironori.
The maybeUseContainerSDKRootDir() function was being called inside
setupEnvironment(),
which runs after processCLI(). By that time, GetOptions had consumed all
command-line
arguments from @ARGV. When the SDK wrapper re-executed the script inside the
mount
namespace, it passed an empty/modified @ARGV, losing arguments like --jsc,
--release, etc.
Move maybeUseContainerSDKRootDir() to be called at the start of main() before
processCLI(), ensuring @ARGV still contains all original arguments when re-exec
happens.
This matches the pattern used by run-javascriptcore-tests and other scripts.
Covered by existing webkitperl tests.
* Tools/Scripts/test262/Runner.pm:
(setupEnvironment):
(main):
Canonical link: https://commits.webkit.org/305101@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications