diff options
author | Maxin B. John <maxin.john@enea.com> | 2014-05-04 16:02:07 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-05-06 17:59:16 +0100 |
commit | 8b91e4462b84e4b7dfb8d935f11f8600d5991edc (patch) | |
tree | 2f368cb1d41c9b57997370218b4057cd3086a4d0 /meta/recipes-support/gdbm/files/run-ptest | |
parent | 563c3290b0d3293bd1c7ae83be017e390f3b5db4 (diff) | |
download | poky-8b91e4462b84e4b7dfb8d935f11f8600d5991edc.tar.gz |
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>
Diffstat (limited to 'meta/recipes-support/gdbm/files/run-ptest')
-rwxr-xr-x | meta/recipes-support/gdbm/files/run-ptest | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-support/gdbm/files/run-ptest b/meta/recipes-support/gdbm/files/run-ptest new file mode 100755 index 0000000000..615da8444b --- /dev/null +++ b/meta/recipes-support/gdbm/files/run-ptest | |||
@@ -0,0 +1,7 @@ | |||
1 | #!/bin/sh | ||
2 | # | ||
3 | # This script is used to run the gmdb test suite | ||
4 | |||
5 | cd tests | ||
6 | |||
7 | ./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/' | ||