diff options
author | David Kalnischkies <david@kalnischkies.de> | 2017-06-27 15:54:10 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2017-06-27 17:46:29 +0200 |
commit | fc251c8c9e2a76ab5c350900e9e032830c81e2b3 (patch) | |
tree | 7e5c3023be812f23c8aae76512e9e4875bc87e3d | |
parent | f68167a0e55c7261c9e61f0f39945cd0e908dabb (diff) |
travis: ignore profiling warning in progress lines
On Travis CI running tests with code coverage enabled sometimes
generates profiling lines, which we filter out for a while now,
but that misses lines generated showing progress still causing test
failures, so more sed logic is added in the hopes to ignore them.
Extends: 58608941e6b58a46109b7cd875716b3d8054c4bf
Gbp-Dch: Ignore
-rw-r--r-- | test/integration/framework | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/framework b/test/integration/framework index 773d25851..12c80b96c 100644 --- a/test/integration/framework +++ b/test/integration/framework @@ -1428,12 +1428,12 @@ checkdiff() { local TMPFILE2="${TMPWORKINGDIRECTORY}/rootdir/tmp/checkdiff.2.tmp" touch "$TMPFILE1" "$TMPFILE2" if [ "$1" != '-' ]; then - sed -e '/^profiling:/ d' < "$1" >"$TMPFILE1" + sed -e '/^profiling:/ d' -e '/\.\.\.profiling:/{N;s#\.\.\.profiling:.*\n#...#g}' < "$1" >"$TMPFILE1" else TMPFILE1='-' fi if [ "$2" != '-' ]; then - sed -e '/^profiling:/ d' < "$2" >"$TMPFILE2" + sed -e '/^profiling:/ d' -e '/\.\.\.profiling:/{N;s#\.\.\.profiling:.*\n#...#g}' < "$2" >"$TMPFILE2" else TMPFILE2='-' fi |