diff options
author | sangelovic <angelovic.s@gmail.com> | 2019-06-12 11:50:07 +0200 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-01-06 19:22:26 -0800 |
commit | b2baaae2711d098c06423858662e29a8375fe6b8 (patch) | |
tree | e0aa103d7e518f6c3d69708df7a3fae52a87dc40 /meta-oe/recipes-core/sdbus-c++/sdbus-c++-0.7.6/run-ptest | |
parent | e70fc74473a2df1609530a32e3a8c039702eeb07 (diff) | |
download | meta-openembedded-b2baaae2711d098c06423858662e29a8375fe6b8.tar.gz |
sdbus-c++: Introduce recipes for sdbus-c++ library and its tools
sdbus-c++ is a high-level, expressive, easy-to-use C++ D-Bus client library written on top of systemd D-Bus client C library.
Signed-off-by: Stanislav Angelovic <angelovic.s@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-core/sdbus-c++/sdbus-c++-0.7.6/run-ptest')
-rwxr-xr-x | meta-oe/recipes-core/sdbus-c++/sdbus-c++-0.7.6/run-ptest | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/sdbus-c++/sdbus-c++-0.7.6/run-ptest b/meta-oe/recipes-core/sdbus-c++/sdbus-c++-0.7.6/run-ptest new file mode 100755 index 000000000..f6ade0c7e --- /dev/null +++ b/meta-oe/recipes-core/sdbus-c++/sdbus-c++-0.7.6/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}/../tests/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}/../tests/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}}' | ||