From e377ee5b8bf34061b633f5d14ea7f704b20b5c26 Mon Sep 17 00:00:00 2001 From: Qiu Tingting Date: Wed, 23 Aug 2023 10:35:21 +0800 Subject: fontconfig: Add ptest support Add a ptest for fontconfig. It is a backport for https://lists.openembedded.org/g/openembedded-core/topic/meta_oe_patch_v1/100753708 It should be deleted after yocto version up. SPEC-4753 Signed-off-by: Qiu Tingting Change-Id: Icfc3e3b4503000c02c2156f20bc8dc9ae3cbfa5b --- meta-agl-test/recipes-graphics/fontconfig/files/run-ptest | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 meta-agl-test/recipes-graphics/fontconfig/files/run-ptest (limited to 'meta-agl-test/recipes-graphics/fontconfig/files/run-ptest') diff --git a/meta-agl-test/recipes-graphics/fontconfig/files/run-ptest b/meta-agl-test/recipes-graphics/fontconfig/files/run-ptest new file mode 100644 index 00000000..67d6c682 --- /dev/null +++ b/meta-agl-test/recipes-graphics/fontconfig/files/run-ptest @@ -0,0 +1,14 @@ +#!/bin/sh + +WORKDIR=@PTEST_PATH@/test/ +PROG=@PTEST_PATH@/test-driver +LOGDIR=@PTEST_PATH@/logs/ + +rm -rf ${LOGDIR} +mkdir -p ${LOGDIR} +cd ${WORKDIR} +for file in `ls ${WORKDIR} | grep test | grep -v json` +do + ${PROG} --test-name ${file} --log-file ${LOGDIR}${file}.log --trs-file ${LOGDIR}${file}.trs ${WORKDIR}${file} +done + -- cgit 1.2.3-korg