aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support
diff options
context:
space:
mode:
authorBartosz Golaszewski <brgl@bgdev.pl>2021-06-02 16:14:58 +0200
committerKhem Raj <raj.khem@gmail.com>2021-06-04 07:08:13 -0700
commit66561c713ed8cdfa7a384eb0ba2c7a211ab5ba1c (patch)
treeec9649a776a4b4e65680cdb97198fdc6b4a9b78a /meta-oe/recipes-support
parente75cc87c4f944dff766c426fafafd48c378544fe (diff)
downloadmeta-openembedded-contrib-66561c713ed8cdfa7a384eb0ba2c7a211ab5ba1c.tar.gz
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>
Diffstat (limited to 'meta-oe/recipes-support')
-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 4cda05d446..3ad737dfc8 100644
--- a/meta-oe/recipes-support/libgpiod/files/run-ptest
+++ b/meta-oe/recipes-support/libgpiod/files/run-ptest
@@ -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