aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartosz Golaszewski <brgl@bgdev.pl>2021-11-30 15:52:50 +0100
committerKhem Raj <raj.khem@gmail.com>2021-12-01 12:39:28 -0800
commitac67765cb09ebb43e1a2ecbea7e0f425b3cffcbb (patch)
tree3747de013d1dd7c3aff4e92eae4cc9e85fe74665
parent213cf9f5e6554d93818cc49c427b6c3da5c152fd (diff)
downloadmeta-openembedded-ac67765cb09ebb43e1a2ecbea7e0f425b3cffcbb.tar.gz
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 <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/libgpiod/files/run-ptest2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-support/libgpiod/files/run-ptest b/meta-oe/recipes-support/libgpiod/files/run-ptest
index 60c661fc10..61b9b69fc6 100644
--- a/meta-oe/recipes-support/libgpiod/files/run-ptest
+++ b/meta-oe/recipes-support/libgpiod/files/run-ptest
@@ -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