mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-10-01 09:01:21 +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:
parent
e75cc87c4f
commit
66561c713e
@ -4,7 +4,7 @@ testbin="gpiod-test"
|
|||||||
ptestdir=$(dirname "$(readlink -f "$0")")
|
ptestdir=$(dirname "$(readlink -f "$0")")
|
||||||
cd $ptestdir/tests
|
cd $ptestdir/tests
|
||||||
|
|
||||||
./$testbin
|
./$testbin > ./$testbin.out
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "FAIL: $testbin"
|
echo "FAIL: $testbin"
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user