WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
176711
[CMake] Link InjectedBundle tests to gtest
https://bugs.webkit.org/show_bug.cgi?id=176711
Summary
[CMake] Link InjectedBundle tests to gtest
Michael Catanzaro
Reported
2017-09-11 10:46:24 PDT
I get this warning when trying to run any cross-platform InjectedBundle test locally: ** (WebKitWebProcess:7446): WARNING **: Error loading the injected bundle (/home/mcatanzaro/Projects/WebKit/Tools/gtk/../../WebKitBuild/GNOME/lib/libTestWebKitAPIInjectedBundle.so): /home/mcatanzaro/Projects/WebKit/Tools/gtk/../../WebKitBuild/GNOME/lib/libTestWebKitAPIInjectedBundle.so: undefined symbol: _ZN7testing8internal30GetBoolAssertionFailureMessageERKNS_15AssertionResultEPKcS5_S5_ It's because libTestWebKitAPIInjectedBundle.so is not linked to gtest. I have no clue how it works on the bots.
Attachments
Patch
(1.12 KB, patch)
2017-09-11 10:54 PDT
,
Michael Catanzaro
mcatanzaro
: review-
mcatanzaro
: commit-queue-
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Michael Catanzaro
Comment 1
2017-09-11 10:54:30 PDT
Created
attachment 320445
[details]
Patch
Michael Catanzaro
Comment 2
2017-09-11 10:57:38 PDT
Comment on
attachment 320445
[details]
Patch That's because it's not supposed to be used from InjectedBundle
Michael Catanzaro
Comment 3
2017-09-11 10:59:04 PDT
And it was happening only for me because I had local modifications to try to use it.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug