diff mbox series

[meta-oe] inotify-tools: Unify the ptest output

Message ID 20251106032724.3673834-1-mingli.yu@windriver.com
State New
Headers show
Series [meta-oe] inotify-tools: Unify the ptest output | expand

Commit Message

Yu, Mingli Nov. 6, 2025, 3:27 a.m. UTC
From: Mingli Yu <mingli.yu@windriver.com>

Make the ptest output in the format [1] used by Automake like
result: testname

[1] https://docs.yoctoproject.org/dev/test-manual/ptest.html#testing-packages-with-ptest

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 meta-oe/recipes-support/inotify-tools/files/run-ptest | 2 ++
 1 file changed, 2 insertions(+)
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/inotify-tools/files/run-ptest b/meta-oe/recipes-support/inotify-tools/files/run-ptest
index 1bd51248d8..ac3d7e717e 100644
--- a/meta-oe/recipes-support/inotify-tools/files/run-ptest
+++ b/meta-oe/recipes-support/inotify-tools/files/run-ptest
@@ -13,9 +13,11 @@  echo "$output"
 # Evaluate result based on exit code
 if [ $status -eq 0 ]; then
     echo "All tests passed successfully."
+    echo "PASS: inotify-tools"
     exit 0
 else
     echo "Test program exited with status $status."
     echo "Some tests may have failed. See output above for details."
+    echo "FAIL: inotify-tools"
     exit 1
 fi