summaryrefslogtreecommitdiffstats
path: root/import-layers/yocto-poky/meta/recipes-support/gdbm/files/run-ptest
blob: 615da8444b215904e71e807005a62c3cf5cc4570 (plain)
1
2
3
4
5
6
7
#!/bin/sh
#
# This script is used to run the gmdb test suite

cd tests

./testsuite AUTOTEST_PATH=$PWD abs_builddir=$PWD COMPAT=1 | sed 's/^[^0-9]*\([0-9]\+\): \(.*\)\(ok\|pass\|skipped\|fail\|FAILED\)\(.*\)$/\3: \2 \4/;s/ \+/ /g;s/^ok/PASS/;s/^skipped/SKIP/;s/^fail/FAIL/;s/^FAILED/FAIL/'
OpenPOWER on IntegriCloud