dev-libs/gjs-1.56.2: get tests to pass
authorMart Raudsepp <leio@gentoo.org>
Mon, 2 Sep 2019 14:04:16 +0000 (17:04 +0300)
committerMart Raudsepp <leio@gentoo.org>
Mon, 2 Sep 2019 14:04:43 +0000 (17:04 +0300)
Disabled Xvfb tests for now, as some of them are having issues with discussions
with upstream ongoing.
Wrap the tests run inside dbus-run-session, despite upstream Makefiles trying
to do that already for some tests - seem to be missing for some, or other
mysterious problems when not doing our own dbus-run-session too.

Package-Manager: Portage-2.3.69, Repoman-2.3.12
Signed-off-by: Mart Raudsepp <leio@gentoo.org>
dev-libs/gjs/gjs-1.56.2.ebuild

index 071966de1530172fffccab53ed4037c66b086ba0..d436481cec50abcc21d8be0b11b9f7f07e2a5071 100644 (file)
@@ -44,8 +44,9 @@ src_configure() {
                $(use_with gtk) \
                $(use_enable readline) \
                $(use_with test dbus-tests) \
-               $(use_with test xvfb-tests) \
-               --disable-installed-tests
+               --disable-installed-tests \
+               --without-xvfb-tests
+               #$(use_with test xvfb-tests) # https://gitlab.gnome.org/GNOME/gjs/issues/280
 }
 
 src_install() {
@@ -62,5 +63,5 @@ src_install() {
 }
 
 src_test() {
-       virtx default
+       virtx dbus-run-session emake check || die
 }