diff options
| author | Bartosz Golaszewski <brgl@bgdev.pl> | 2021-06-02 16:14:58 +0200 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2021-06-04 07:08:13 -0700 |
| commit | 66561c713ed8cdfa7a384eb0ba2c7a211ab5ba1c (patch) | |
| tree | ec9649a776a4b4e65680cdb97198fdc6b4a9b78a | |
| parent | e75cc87c4f944dff766c426fafafd48c378544fe (diff) | |
| download | meta-openembedded-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>
| -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 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" | |||
| 4 | ptestdir=$(dirname "$(readlink -f "$0")") | 4 | ptestdir=$(dirname "$(readlink -f "$0")") |
| 5 | cd $ptestdir/tests | 5 | cd $ptestdir/tests |
| 6 | 6 | ||
| 7 | ./$testbin | 7 | ./$testbin > ./$testbin.out |
| 8 | if [ $? -ne 0 ]; then | 8 | if [ $? -ne 0 ]; then |
| 9 | echo "FAIL: $testbin" | 9 | echo "FAIL: $testbin" |
| 10 | else | 10 | else |
