| Message ID | 20261025214330.653779-4-khem.raj@oss.qualcomm.com |
|---|---|
| State | New |
| Headers | show |
| Series | [meta-oe,1/6] fftw: Fix planner hang on musl with CLOCK_SGI_CYCLE | expand |
diff --git a/meta-oe/recipes-support/libgpiod/libgpiod-2.x/run-ptest b/meta-oe/recipes-support/libgpiod/libgpiod-2.x/run-ptest index eae172116f..8403102d4d 100644 --- a/meta-oe/recipes-support/libgpiod/libgpiod-2.x/run-ptest +++ b/meta-oe/recipes-support/libgpiod/libgpiod-2.x/run-ptest @@ -20,6 +20,8 @@ run_one_test() { ./$testbin > ./$testbin.out 2>&1 if [ $? -ne 0 ]; then + # keep the details of intermittent failures in the ptest log + cat ./$testbin.out echo "FAIL: $testbin" else echo "PASS: $testbin"
run-ptest wrote each test's output into a file in the image, so an intermittent gpiod-glib-test failure in testimage left nothing to debug. Print the output when a test fails. Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com> --- meta-oe/recipes-support/libgpiod/libgpiod-2.x/run-ptest | 2 ++ 1 file changed, 2 insertions(+)