Skip to content

Commit

Permalink
debian/tests/build: Route stderr from test to stdout (Closes: #726983).
Browse files Browse the repository at this point in the history
The "libdc1394 error: Failed to initialize libdc1394" message
will not fail the test (patch provided by Martin Pitt
<martin.pitt@ubuntu.com>).
  • Loading branch information
thomas-moulard committed Nov 30, 2013
1 parent d8a4f78 commit b96ce9a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion debian/tests/build
Expand Up @@ -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"

0 comments on commit b96ce9a

Please sign in to comment.