diff options
| author | Bartosz Golaszewski <brgl@bgdev.pl> | 2021-11-30 15:52:50 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-12-01 12:39:28 -0800 |
| commit | ac67765cb09ebb43e1a2ecbea7e0f425b3cffcbb (patch) | |
| tree | 3747de013d1dd7c3aff4e92eae4cc9e85fe74665 | |
| parent | 213cf9f5e6554d93818cc49c427b6c3da5c152fd (diff) | |
| download | meta-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-ptest | 2 |
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 | |||
| 7 | 7 | ||
| 8 | for testbin in $testbins; do | 8 | for testbin in $testbins; do |
| 9 | if test -e ./$testbin; then | 9 | if test -e ./$testbin; then |
| 10 | ./$testbin > ./$testbin.out | 10 | ./$testbin > ./$testbin.out 2>&1 |
| 11 | if [ $? -ne 0 ]; then | 11 | if [ $? -ne 0 ]; then |
| 12 | echo "FAIL: $testbin" | 12 | echo "FAIL: $testbin" |
| 13 | else | 13 | else |
