Skip to content

Commit

Permalink
dev-haskell/dbus: Disable integration tests
Browse files Browse the repository at this point in the history
These tests try to spin up an instance of dbus-daemon

Signed-off-by: Sam James <[email protected]>
  • Loading branch information
hololeap authored and thesamesam committed Aug 21, 2022
1 parent 8bb52a7 commit 826a506
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
4 changes: 4 additions & 0 deletions dev-haskell/dbus/dbus-1.2.22.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ LICENSE="Apache-2.0"
SLOT="0/${PV}"
KEYWORDS="~amd64 ~ppc64 ~x86"

PATCHES=(
"${FILESDIR}/${PN}-1.2.22-disable-integration-tests.patch"
)

RDEPEND="<dev-haskell/cereal-0.6:=[profile?]
>=dev-haskell/conduit-1.3.0:=[profile?] <dev-haskell/conduit-1.4:=[profile?]
<dev-haskell/lens-5.2:=[profile?]
Expand Down
28 changes: 28 additions & 0 deletions dev-haskell/dbus/files/dbus-1.2.22-disable-integration-tests.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
From: hololeap <[email protected]>
Signed-off-by: hololeap <[email protected]>

dev-haskell/dbus: Disable integration tests

These tests try to spin up an instance of dbus-daemon

diff -urN dbus-1.2.22/tests/DBusTests.hs dbus-1.2.22-r1/tests/DBusTests.hs
--- dbus-1.2.22/tests/DBusTests.hs 2021-12-16 12:34:16.000000000 -0700
+++ dbus-1.2.22-r1/tests/DBusTests.hs 2022-08-05 12:51:12.447871229 -0600
@@ -23,7 +23,7 @@
import DBusTests.BusName
import DBusTests.Client
import DBusTests.ErrorName
-import DBusTests.Integration
+--import DBusTests.Integration
import DBusTests.InterfaceName
import DBusTests.Introspection
import DBusTests.MemberName
@@ -55,7 +55,7 @@
, test_BusName
, test_Client
, test_ErrorName
- , test_Integration
+-- , test_Integration
, test_InterfaceName
, test_Introspection
, test_MemberName

0 comments on commit 826a506

Please sign in to comment.