[visp] 01/06: debian/tests/build: Route stderr from test to stdout (Closes: #726983).

Thomas Moulard thomas_moulard-guest at moszumanska.debian.org
Fri Jan 17 07:34:48 UTC 2014


This is an automated email from the git hooks/post-receive script.

thomas_moulard-guest pushed a commit to annotated tag debian/2.8.0-4
in repository visp.

commit b96ce9a4592dcbf1ef6bfc18440992fb11858f36
Author: Thomas Moulard <thomas.moulard at gmail.com>
Date:   Fri Sep 27 11:25:20 2013 +0900

    debian/tests/build: Route stderr from test to stdout (Closes: #726983).
    
    The "libdc1394 error: Failed to initialize libdc1394" message
    will not fail the test (patch provided by Martin Pitt
    <martin.pitt at ubuntu.com>).
---
 debian/tests/build | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/tests/build b/debian/tests/build
index bec80e5..20cafe6 100755
--- a/debian/tests/build
+++ b/debian/tests/build
@@ -22,5 +22,7 @@ EOF
 g++ -o visptest visptest.cpp `pkg-config --cflags --libs visp`
 echo "build: OK"
 [ -x visptest ]
-./visptest
+# often prints "libdc1394 error: Failed to initialize libdc1394" to stderr,
+# avoid test failure due to that
+./visptest 2>&1
 echo "run: OK"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/visp.git



More information about the debian-science-commits mailing list