-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
contrib/dbus-test-runner: new package (19.04.0)
- Loading branch information
Showing
4 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
dbus-test-runner |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/tests/Makefile.am b/tests/Makefile.am | ||
index 4f4aad9..275f809 100644 | ||
--- a/tests/Makefile.am | ||
+++ b/tests/Makefile.am | ||
@@ -154,7 +154,7 @@ test-no-tasks: Makefile.am | ||
@chmod +x $@ | ||
XFAIL_TESTS += test-no-tasks | ||
|
||
-TESTS += test-output | ||
+#TESTS += test-output | ||
test-output: Makefile.am | ||
@echo "#!/bin/sh -e" > $@ | ||
@echo "$(DBUS_RUNNER) --task cat --parameter \"$(top_srcdir)/src/dbus-test-runner.c\" --task-name \"cat1\" --task cat --parameter \"$(top_srcdir)/src/dbus-test-runner.c\" --task-name \"cat2\" > testcat.output.txt" >> $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/configure.ac b/configure.ac | ||
index d925acb..dd97b6b 100644 | ||
--- a/configure.ac | ||
+++ b/configure.ac | ||
@@ -32,7 +32,7 @@ GIO_REQUIRED_VERSION=2.30 | ||
PKG_CHECK_MODULES(DBUS_TEST_RUNNER, glib-2.0 >= $GLIB_REQUIRED_VERSION | ||
gio-2.0 >= $GIO_REQUIRED_VERSION | ||
gio-unix-2.0 >= $GIO_REQUIRED_VERSION | ||
- dbus-glib-1 >= $DBUS_REQUIRED_VERSION) | ||
+ ) | ||
AC_SUBST(DBUS_TEST_RUNNER_CFLAGS) | ||
AC_SUBST(DBUS_TEST_RUNNER_LIBS) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
pkgname = "dbus-test-runner" | ||
pkgver = "19.04.0" | ||
pkgrel = 0 | ||
build_style = "gnu_configure" | ||
configure_args = ["--disable-static"] | ||
make_cmd = "gmake" | ||
hostmakedepends = [ | ||
"automake", | ||
"gettext-devel", | ||
"gmake", | ||
"intltool", | ||
"libtool", | ||
"pkgconf", | ||
] | ||
makedepends = [ | ||
"glib-devel", | ||
] | ||
depends = ["dbus"] | ||
checkdepends = ["bash", "dbus", "python-dbusmock"] | ||
pkgdesc = "Test executables under a new DBus session" | ||
maintainer = "avgwst <avgwst@tutanota.de>" | ||
license = "GPL-3.0-only" | ||
url = "https://launchpad.net/dbus-test-runner" | ||
source = f"{url}/{pkgver[:pkgver.rfind('.')]}/{pkgver}/+download/{pkgname}-{pkgver}.tar.gz" | ||
sha256 = "645a32fbd909baf2c01438f0cbda29dc9cd01a7aba5504c45610d88e8a57cb76" | ||
|
||
|
||
@subpackage("dbus-test-runner-devel") | ||
def _devel(self): | ||
return self.default_devel() |