aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/dbus/dbus-glib-0.100/test-install-makefile.patch
diff options
context:
space:
mode:
authorConstantin Musca <constantinx.musca@intel.com>2012-08-23 14:45:02 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-24 17:31:24 +0100
commita851da82c8d641472cff755874cc329bc730e017 (patch)
treeece1519a3c70bcea9299201ca5effe2f8da8bd9d /meta/recipes-core/dbus/dbus-glib-0.100/test-install-makefile.patch
parentfdd9df341f47ef03ea9cb319205d75418c94cd01 (diff)
downloadopenembedded-core-contrib-a851da82c8d641472cff755874cc329bc730e017.tar.gz
openembedded-core-contrib-a851da82c8d641472cff755874cc329bc730e017.tar.bz2
openembedded-core-contrib-a851da82c8d641472cff755874cc329bc730e017.zip
dbus-glib: upgrade to 0.100
test-service-glib-include-glib-only.patch: removed - no more compiling errors
Diffstat (limited to 'meta/recipes-core/dbus/dbus-glib-0.100/test-install-makefile.patch')
-rw-r--r--meta/recipes-core/dbus/dbus-glib-0.100/test-install-makefile.patch48
1 files changed, 48 insertions, 0 deletions
diff --git a/meta/recipes-core/dbus/dbus-glib-0.100/test-install-makefile.patch b/meta/recipes-core/dbus/dbus-glib-0.100/test-install-makefile.patch
new file mode 100644
index 0000000000..2e8e178bb7
--- /dev/null
+++ b/meta/recipes-core/dbus/dbus-glib-0.100/test-install-makefile.patch
@@ -0,0 +1,48 @@
+Change Makefile.am to install regression tests for test package purpose.
+
+Upstream-Status: Inappropriate [test not install is for purpose from upstream]
+
+Signed-off-by: Yao Zhao <yao.zhao@windriver.com>
+
+diff --git a/test/Makefile.am b/test/Makefile.am
+index 7ba11a8..249f0e7 100644
+--- a/test/Makefile.am
++++ b/test/Makefile.am
+@@ -13,7 +13,8 @@ else
+ TEST_BINARIES=
+ endif
+
+-noinst_PROGRAMS= $(TEST_BINARIES)
++testdir = $(datadir)/@PACKAGE@/tests
++test_PROGRAMS= $(TEST_BINARIES)
+
+ test_service_SOURCES= \
+ test-service.c
+diff --git a/test/interfaces/Makefile.am b/test/interfaces/Makefile.am
+index 3cb2c39..e6de67d 100644
+--- a/test/interfaces/Makefile.am
++++ b/test/interfaces/Makefile.am
+@@ -39,7 +39,8 @@ if DBUS_BUILD_TESTS
+
+ ## we use noinst_PROGRAMS not check_PROGRAMS for TESTS so that we
+ ## build even when not doing "make check"
+-noinst_PROGRAMS = test-service test-client
++testdir = $(datadir)/@PACKAGE@/tests/interfaces
++test_PROGRAMS = test-service test-client
+
+ test_service_SOURCES = \
+ test-interfaces.c \
+diff --git a/test/core/Makefile.am b/test/core/Makefile.am
+index ef6cb26..9786c3a 100644
+--- a/test/core/Makefile.am
++++ b/test/core/Makefile.am
+@@ -46,7 +46,8 @@ endif
+
+ ## we use noinst_PROGRAMS not check_PROGRAMS for TESTS so that we
+ ## build even when not doing "make check"
+-noinst_PROGRAMS = \
++testdir = $(datadir)/@PACKAGE@/tests/core
++test_PROGRAMS = \
+ test-dbus-glib \
+ test-service-glib \
+ $(THREAD_APPS) \