[visp] 01/02: debian/tests/build: Route stderr from built test program to stdout.

Thomas Moulard thomas_moulard-guest at alioth.debian.org
Thu Oct 24 06:06:38 UTC 2013


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

thomas_moulard-guest pushed a commit to branch master
in repository visp.

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

    debian/tests/build: Route stderr from built test program to stdout.
    
    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