summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2013-08-01 18:01:39 +0300
committerSaul Wold <sgw@linux.intel.com>2013-08-02 08:21:17 -0700
commit79af25c3f45f57c1dd44db2ef4011a3e768badd6 (patch)
tree8b029880995e1fdae811c912cada11d87d358125
parentc7d27f4626f6763ec348c390cc907f30c102f96d (diff)
downloadopenembedded-core-79af25c3f45f57c1dd44db2ef4011a3e768badd6.tar.gz
openembedded-core-79af25c3f45f57c1dd44db2ef4011a3e768badd6.tar.bz2
openembedded-core-79af25c3f45f57c1dd44db2ef4011a3e768badd6.zip
ofono: Enable test scripts by default
oFono test scripts are very useful so enable those by default. Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r--meta/recipes-connectivity/ofono/ofono.inc3
-rw-r--r--meta/recipes-connectivity/ofono/ofono_1.12.bb3
2 files changed, 2 insertions, 4 deletions
diff --git a/meta/recipes-connectivity/ofono/ofono.inc b/meta/recipes-connectivity/ofono/ofono.inc
index 7adc667f99..3972e062e5 100644
--- a/meta/recipes-connectivity/ofono/ofono.inc
+++ b/meta/recipes-connectivity/ofono/ofono.inc
@@ -15,6 +15,7 @@ INITSCRIPT_PARAMS = "defaults 22"
EXTRA_OECONF += "\
${@base_contains('DISTRO_FEATURES', 'systemd', '--with-systemdunitdir=${systemd_unitdir}/system/', '--with-systemdunitdir=', d)} \
${@base_contains('DISTRO_FEATURES', 'bluetooth','--enable-bluetooth', '--disable-bluetooth', d)} \
+ --enable-test \
"
SYSTEMD_SERVICE_${PN} = "ofono.service"
@@ -28,5 +29,5 @@ PACKAGES =+ "${PN}-tests"
RDEPENDS_${PN} += "dbus"
FILES_${PN} += "${base_libdir}/udev ${systemd_unitdir}"
-FILES_${PN}-tests = "${libdir}/ofono"
+FILES_${PN}-tests = "${libdir}/${BPN}/test"
RDEPENDS_${PN}-tests = "python python-pygobject python-dbus"
diff --git a/meta/recipes-connectivity/ofono/ofono_1.12.bb b/meta/recipes-connectivity/ofono/ofono_1.12.bb
index 32c8bc25cd..ad524a0418 100644
--- a/meta/recipes-connectivity/ofono/ofono_1.12.bb
+++ b/meta/recipes-connectivity/ofono/ofono_1.12.bb
@@ -12,7 +12,4 @@ PR = "r2"
SRC_URI[md5sum] = "aa8924c0e8de3ec7ac5e41fe7df4cb99"
SRC_URI[sha256sum] = "733b75bfd1b2a1925b6de532989c496b8ae17a746691120ef64cceb00b3ef751"
-EXTRA_OECONF += "\
- --enable-test \
-"
CFLAGS_append_libc-uclibc = " -D_GNU_SOURCE"