diff options
| author | Mingli Yu <mingli.yu@windriver.com> | 2025-11-06 11:27:24 +0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2025-11-06 16:00:52 -0800 |
| commit | 78e81c6390ab5c8585c33d7ed4b0d11372951406 (patch) | |
| tree | 47bdc3255158b8f68be96b7c44cd5c4243147389 /meta-oe/recipes-support/inotify-tools | |
| parent | 553b811b2f6865f6b378a33ca32ec193b8cb99b3 (diff) | |
| download | meta-openembedded-78e81c6390ab5c8585c33d7ed4b0d11372951406.tar.gz | |
inotify-tools: Unify the ptest output
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>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-support/inotify-tools')
| -rw-r--r-- | meta-oe/recipes-support/inotify-tools/files/run-ptest | 2 |
1 files changed, 2 insertions, 0 deletions
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" | |||
| 13 | # Evaluate result based on exit code | 13 | # Evaluate result based on exit code |
| 14 | if [ $status -eq 0 ]; then | 14 | if [ $status -eq 0 ]; then |
| 15 | echo "All tests passed successfully." | 15 | echo "All tests passed successfully." |
| 16 | echo "PASS: inotify-tools" | ||
| 16 | exit 0 | 17 | exit 0 |
| 17 | else | 18 | else |
| 18 | echo "Test program exited with status $status." | 19 | echo "Test program exited with status $status." |
| 19 | echo "Some tests may have failed. See output above for details." | 20 | echo "Some tests may have failed. See output above for details." |
| 21 | echo "FAIL: inotify-tools" | ||
| 20 | exit 1 | 22 | exit 1 |
| 21 | fi | 23 | fi |
