diff options
Diffstat (limited to 'meta-oe/recipes-core/sdbus-c++/sdbus-c++-1.5.0/run-ptest')
-rwxr-xr-x | meta-oe/recipes-core/sdbus-c++/sdbus-c++-1.5.0/run-ptest | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/sdbus-c++/sdbus-c++-1.5.0/run-ptest b/meta-oe/recipes-core/sdbus-c++/sdbus-c++-1.5.0/run-ptest new file mode 100755 index 000000000..2dc6e1eca --- /dev/null +++ b/meta-oe/recipes-core/sdbus-c++/sdbus-c++-1.5.0/run-ptest | |||
@@ -0,0 +1,15 @@ | |||
1 | #!/bin/sh | ||
2 | set -e | ||
3 | set -o pipefail | ||
4 | |||
5 | SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )" | ||
6 | |||
7 | ${SCRIPTPATH}/sdbus-c++-unit-tests 2>&1 | \ | ||
8 | sed -r 's/^\[\s+OK\s+\] (.*) \([0-9]+\sms\)$/OK: \1 /' | \ | ||
9 | sed -r 's/^\[\s+FAILED\s+\] (.*) \([0-9]+\sms\)$/FAILED: \1 /' | \ | ||
10 | awk '{if ($1 == "OK:" || $1 == "FAILED:") {print $0}}' | ||
11 | |||
12 | ${SCRIPTPATH}/sdbus-c++-integration-tests 2>&1 | \ | ||
13 | sed -r 's/^\[\s+OK\s+\] (.*) \([0-9]+\sms\)$/OK: \1 /' | \ | ||
14 | sed -r 's/^\[\s+FAILED\s+\] (.*) \([0-9]+\sms\)$/FAILED: \1 /' | \ | ||
15 | awk '{if ($1 == "OK:" || $1 == "FAILED:") {print $0}}' | ||