aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-test/recipes-graphics/fontconfig/files/run-ptest
blob: 67d6c6823d85a5dc6363b3a89f8e9555d20350d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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