[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[FYI] {master} tests: avoid spurious failure with FreeBSD make
From: |
Stefano Lattarini |
Subject: |
[FYI] {master} tests: avoid spurious failure with FreeBSD make |
Date: |
Fri, 17 Feb 2012 23:53:43 +0100 |
* tests/parallel-tests-extra-programs.test: FreeBSD make seems to
write (some) diagnostic messages on stdout instead than on stderr,
so now we also grep the stdout for the expected make diagnostic.
---
tests/parallel-tests-extra-programs.test | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/tests/parallel-tests-extra-programs.test
b/tests/parallel-tests-extra-programs.test
index 4a18443..3802176 100755
--- a/tests/parallel-tests-extra-programs.test
+++ b/tests/parallel-tests-extra-programs.test
@@ -137,8 +137,10 @@ grep '^PASS: baz\.test$' stdout
# $(EXEEXT).
grep '^PASS: foo\.bin' stdout
grep '^PASS: bar\.bin' stdout
-# Expected error messages from make.
-$EGREP 'none\.(bin|o|c)' stderr
+# Expected error messages from make. Some make implementations (e.g.,
+# FreeBSD make) seem to print the error on stdout instead, so check for
+# it there as well.
+$EGREP 'none\.(bin|o|c)' stderr stdout
# What we check now:
# 1. if we make the last EXTRA_PROGRAM buildable, the failed tests
--
1.7.9
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [FYI] {master} tests: avoid spurious failure with FreeBSD make,
Stefano Lattarini <=