summaryrefslogtreecommitdiffstats
path: root/external/poky/meta/recipes-support/gdbm/files/run-ptest
diff options
context:
space:
mode:
Diffstat (limited to 'external/poky/meta/recipes-support/gdbm/files/run-ptest')
-rwxr-xr-xexternal/poky/meta/recipes-support/gdbm/files/run-ptest7
1 files changed, 7 insertions, 0 deletions
diff --git a/external/poky/meta/recipes-support/gdbm/files/run-ptest b/external/poky/meta/recipes-support/gdbm/files/run-ptest
new file mode 100755
index 00000000..615da844
--- /dev/null
+++ b/external/poky/meta/recipes-support/gdbm/files/run-ptest
@@ -0,0 +1,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/'