After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 633657 - Add run-js-test executable to run tests
Add run-js-test executable to run tests
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Dan Winship
gnome-shell-maint
Depends on:
Blocks: 633865
 
 
Reported: 2010-10-31 19:34 UTC by Owen Taylor
Modified: 2010-11-12 22:38 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Add run-js-test executable to run tests (9.62 KB, patch)
2010-10-31 19:34 UTC, Owen Taylor
committed Details | Review

Description Owen Taylor 2010-10-31 19:34:36 UTC
ST makes use of GTK+ for input methods and for icon themes; therefore
we have need to initialize GTK+ in order to test these parts of Clutter.

Instead of LD_PRELOADING our module, use a separately compiled executable
that links to the UI components in GNOME Shell, initializes Clutter and
GTK+ and hooks them together.

Getting all the symbols from St and the GUI components exported for
use via GJS requires a bit of contortion: we need to actually link the
St convenience library into a shared library and link the executable
to that since there is no way with libtool to take a convenience library
and put all its symbols into an executable --whole-archive style.
Comment 1 Owen Taylor 2010-10-31 19:34:38 UTC
Created attachment 173602 [details] [review]
Add run-js-test executable to run tests
Comment 2 Dan Winship 2010-11-05 14:15:06 UTC
Comment on attachment 173602 [details] [review]
Add run-js-test executable to run tests

>+  if  (command != NULL) {

extra space there
Comment 3 Owen Taylor 2010-11-12 22:38:02 UTC
Attachment 173602 [details] pushed as c98103f - Add run-js-test executable to run tests