summaryrefslogtreecommitdiffstats
path: root/meta-agl-test/recipes-graphics/fontconfig/files/run-ptest
diff options
context:
space:
mode:
Diffstat (limited to 'meta-agl-test/recipes-graphics/fontconfig/files/run-ptest')
-rw-r--r--meta-agl-test/recipes-graphics/fontconfig/files/run-ptest14
1 files changed, 14 insertions, 0 deletions
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
+