[gtk-doc] tests: skip some tests when run with V=1
- From: Stefan Sauer <stefkost src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk-doc] tests: skip some tests when run with V=1
- Date: Fri, 23 Mar 2018 21:12:06 +0000 (UTC)
commit dbb4b84628a74eee4932fa7bd4e4a5b787c3ab82
Author: Stefan Sauer <ensonic users sf net>
Date: Fri Mar 23 22:08:56 2018 +0100
tests: skip some tests when run with V=1
Some tests verify the number of output lines and of course we get more output
in verbose builds (V=1). Ideally we check stdout/stderr separately.
For now just skip those checks if we run with V=1.
Fixes #793599
tests/sanity.sh | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/tests/sanity.sh b/tests/sanity.sh
index fe78576..5a79f18 100755
--- a/tests/sanity.sh
+++ b/tests/sanity.sh
@@ -89,6 +89,11 @@ gunzip .*.gz
'
for file in $dir/*/docs/gtkdoc-*.log; do
+ # skip this in verbose mode as we'll have more text
+ if test "x${V}" = "x1"; then
+ continue
+ fi
+
expected_lines="1"
# adjust for known files
if test $file = "$dir/fail/docs/gtkdoc-mkdb.log"; then
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]