mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
libgpiod: redirect stdout from the ptest executable to a file
Most tests redirect their standard output to a file. Let's make libgpiod consistent with this pattern. Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
committed by
Khem Raj
parent
e75cc87c4f
commit
66561c713e
@@ -4,7 +4,7 @@ testbin="gpiod-test"
|
||||
ptestdir=$(dirname "$(readlink -f "$0")")
|
||||
cd $ptestdir/tests
|
||||
|
||||
./$testbin
|
||||
./$testbin > ./$testbin.out
|
||||
if [ $? -ne 0 ]; then
|
||||
echo "FAIL: $testbin"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user