diff options
author | 2016-03-17 22:03:18 +0900 | |
---|---|---|
committer | 2016-03-18 16:58:29 +0900 | |
commit | 99527669d65dac9b05ef407e8b8153ed379f0837 (patch) | |
tree | a791ad334fa5bf16ebdac480c317a058221a57c5 /meta-ivi-test | |
parent | 9429914ff08bca6596bba3402661be2f8d9e5a5d (diff) | |
download | meta-ivi-99527669d65dac9b05ef407e8b8153ed379f0837.tar.gz meta-ivi-99527669d65dac9b05ef407e8b8153ed379f0837.tar.bz2 meta-ivi-99527669d65dac9b05ef407e8b8153ed379f0837.zip |
wayland-ivi-extension: create *-test package
Signed-off-by: Yong-iL Joh <yong-il.joh@windriver.com>
Diffstat (limited to 'meta-ivi-test')
-rw-r--r-- | meta-ivi-test/recipes-graphics/wayland/wayland-ivi-extension_%.bbappend | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/meta-ivi-test/recipes-graphics/wayland/wayland-ivi-extension_%.bbappend b/meta-ivi-test/recipes-graphics/wayland/wayland-ivi-extension_%.bbappend new file mode 100644 index 0000000..d1d9fbb --- /dev/null +++ b/meta-ivi-test/recipes-graphics/wayland/wayland-ivi-extension_%.bbappend @@ -0,0 +1,20 @@ +# +# for testing +# +DEPENDS += " gtest" +EXTRA_OECMAKE += " -DBUILD_ILM_API_TESTS=1 -DINSTALL_ILM_API_TESTS=1" + +do_install_append() { + install -d ${D}/opt/tests/${PN} + mv ${D}/${bindir}/*test ${D}/opt/tests/${PN} +} + +PACKAGES += "${PN}-test" +DEPENDS_${PN}-test = "${PN}" + +FILES_${PN}-dbg += " \ + /opt/tests/${PN}/.debug/* \ + " +FILES_${PN}-test = " \ + /opt/tests/${PN}/* \ + " |