diff options
author | Stephane Desneux <stephane.desneux@iot.bzh> | 2016-06-14 16:08:36 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.200> | 2016-06-19 19:30:29 +0000 |
commit | d849fedddc762b983741f6583b1f7ba16debbcfd (patch) | |
tree | 217396280abfb7e7e936ca140e3b7063a5e2a7a6 | |
parent | 28ec56de3303f79a1cae1b47ccfd03670fbdf1f6 (diff) |
meta-ivi-common: amend fontconfig recipe to package fontconfig-test
Tests present in fontconfig sources are packaged in fontconfig-test*.rpm to satisfy
JTA dependencies (job Functional.fontconfig)
Change-Id: I0aed6f9718762995795d107e67bb7553b246232c
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
-rw-r--r-- | meta-ivi-common/recipes-test/fontconfig/fontconfig_%.bbappend | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-ivi-common/recipes-test/fontconfig/fontconfig_%.bbappend b/meta-ivi-common/recipes-test/fontconfig/fontconfig_%.bbappend new file mode 100644 index 000000000..c4bebdc1f --- /dev/null +++ b/meta-ivi-common/recipes-test/fontconfig/fontconfig_%.bbappend @@ -0,0 +1,17 @@ +PACKAGES =+ "fontconfig-test" + +do_install_append() { + install -m 755 -d ${D}/${datadir}/fontconfig-test + install -m 755 ${S}/test/run-test.sh ${D}/${datadir}/fontconfig-test/ + + sed -i -e "s/FCLIST=\.\.\/fc\-list\/fc\-list/FCLIST=\/usr\/bin\/fc\-list/g" -e "s/FCCACHE=\.\.\/fc\-cache\/fc\-cache/FCCACHE=\/usr\/bin\/fc\-cache/g" ${D}/${datadir}/fontconfig-test/run-test.sh + + for x in 4x6.pcf 8x16.pcf out.expected fonts.conf.in; do + install -m 644 ${S}/test/$x ${D}/${datadir}/fontconfig-test/ + done +} + +DEBIAN_NOAUTONAME_fontconfig-test = "1" +FILES_fontconfig-test = "${datadir}/fontconfig-test/*" + + |