summaryrefslogtreecommitdiffstats
path: root/meta-agl-test/recipes-core/kbd/files/run-ptest
blob: 0eab90ea1cd69d4f7513c7628117ee940ad8372b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# Define test work dir
WORKDIR=@PTEST_PATH@/tests/

# Run test
cd ${WORKDIR}

./testsuite -k unittest | sed -e '/[0-9]:/s/://' \
    -e '/ ok/s/^/PASS: /;/ FAILED/s/^/FAIL: /;/ skipped/s/^/SKIP: /' \
    -e '/ ok/s/ ok.*//;/ skipped/s/ skipped.*//;/ FAILED/s/ FAILED.*//'