libgpiod: ptest: redirect stderr to stdout for test executables
PATCH 1/1 libgpiod: ptest: redirect stderr to stdout for test executables
Catch2 (used by the C++ tests) prints its output to stderr instead of stdout. Redirect stderr to stdout for all test executables.
Signed-off-by Bartosz Golaszewski <[email protected]>
--- meta-oe/recipes-support/libgpiod/files/run-ptest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
meta-oe/recipes-support/libgpiod/files/run-ptest +1 -1
@@ -7,7 +7,7 @@ cd $ptestdir/tests for testbin in $testbins; do if test -e ./$testbin; then - ./$testbin > ./$testbin.out + ./$testbin > ./$testbin.out 2>&1 if [ $? -ne 0 ]; then echo "FAIL: $testbin" else
Signature · 1 line
2.25.1