-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[GTK][Tools] re-location issues when running javascript-core tests #47252
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
base: main
Are you sure you want to change the base?
Conversation
https://bugs.webkit.org/show_bug.cgi?id=295044 Reviewed by NOBODY (OOPS!). Some bots are moving away from the Flatpak SDK, which means tests are no longer run in a common /app/webkit directory. As a result, some bots are now building WebKit in one directory and running the tests on another (using the build from the first one) This has revealed issues where binaries fail to find shared libraries because the rpath embedded on the binaries is not longer valid. This patch updates the relevant test scripts to set the LD_LIBRARY_PATH variable dinamically at run-time. * Tools/Scripts/run-javascriptcore-tests: (setupEnvironment): * Tools/Scripts/run-jsc-stress-tests: * Tools/Scripts/webkitdirs.pm: (setupUnixWebKitEnvironment):
EWS run on current version of this PR (hash 7d5ca92) |
This makes sense to me. I want to argue for using patchelf instead, but I setting |
Using patchelf does not solve the problem completely. On the other hand setting |
I actually had the developer in mind, who may want to run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
rs=me
sub setupEnvironment() | ||
{ | ||
my $productDir = productDir(); | ||
if ($^O eq "linux") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aww the perl-ism 😂
Typo: dynamically in the commit message. |
7d5ca92
7d5ca92