blob: 2dc6e1eca18bf5fcd9e25bdd373cf61eb3e34b57 [file] [log] [blame]
Brad Bishope42b3e32020-01-15 22:08:42 -05001#!/bin/sh
2set -e
3set -o pipefail
4
5SCRIPTPATH="$( cd "$(dirname "$0")" ; pwd -P )"
6
Patrick Williamsda295312023-12-05 16:48:56 -06007${SCRIPTPATH}/sdbus-c++-unit-tests 2>&1 | \
Brad Bishope42b3e32020-01-15 22:08:42 -05008sed -r 's/^\[\s+OK\s+\] (.*) \([0-9]+\sms\)$/OK: \1 /' | \
9sed -r 's/^\[\s+FAILED\s+\] (.*) \([0-9]+\sms\)$/FAILED: \1 /' | \
10awk '{if ($1 == "OK:" || $1 == "FAILED:") {print $0}}'
11
Patrick Williamsda295312023-12-05 16:48:56 -060012${SCRIPTPATH}/sdbus-c++-integration-tests 2>&1 | \
Brad Bishope42b3e32020-01-15 22:08:42 -050013sed -r 's/^\[\s+OK\s+\] (.*) \([0-9]+\sms\)$/OK: \1 /' | \
14sed -r 's/^\[\s+FAILED\s+\] (.*) \([0-9]+\sms\)$/FAILED: \1 /' | \
15awk '{if ($1 == "OK:" || $1 == "FAILED:") {print $0}}'