citadel/poky/meta/recipes-support/gdbm/files/run-ptest

8 lines
290 B
Plaintext
Raw Normal View History

#!/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/'