Files
poky/meta/recipes-support/gdbm/files/run-ptest
Maxin B. John 8b91e4462b gdbm: enable ptest support
Install gdbm test-suite and run it as ptest

(From OE-Core rev: aaba69d598763831e8b42996154ed87d0db10714)

Signed-off-by: Maxin B. John <maxin.john@enea.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-05-06 17:59:16 +01:00

290 B
Executable File

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