[LTP] [PATCH v2 0/2] openposix: Run the Open POSIX tests with kirk
Anders Roxell
anders.roxell@linaro.org
Wed Nov 4 23:50:49 CET 2026
Hi,
There are no runtest files for the Open POSIX tests, so kirk can not
run them. Patch 1 installs the missing .args files.
Patch 2 generates runtest/openposix-* at install time. Each line calls
a small wrapper that maps the Open POSIX exit codes to the LTP ones.
Changes in v2:
- Take the list of tests from the installed run.sh files. v1 used all
the files in DESTDIR, so it picked up old tests left from an earlier
install, like pthread_detach_1-2. (LTP AI Reviewer)
This does not cover a removed test directory: its old run.sh stays in
DESTDIR, so its tests are still listed.
Tested on arm64. I cross built the series and ran make install into a
DESTDIR with an old pthread_detach_1-2.run-test in it. The runtest
files have 1735 tests, and pthread_detach_1-2 is not one of them.
Then I ran them with kirk in QEMU (tuxrun), and 2 of the 1735 tests
fail. pthread_rwlock_unlock_3-1 fails like in v1. fork_7-1 is
unresolved because the rootfs has no gencat.
v1: https://lore.kernel.org/ltp/20261023123436.1274448-1-anders.roxell@linaro.org/
Cheers,
Anders
Anders Roxell (2):
openposix: Install the .args files
openposix: Add runtest files for kirk
testcases/open_posix_testsuite/Makefile | 11 +++++-
testcases/open_posix_testsuite/bin/Makefile | 6 ++-
.../open_posix_testsuite/bin/openposix_run.sh | 29 ++++++++++++++
.../include/mk/config.mk.in | 3 ++
.../scripts/generate-makefiles.sh | 1 +
.../scripts/generate-runtest.sh | 38 +++++++++++++++++++
6 files changed, 86 insertions(+), 2 deletions(-)
create mode 100755 testcases/open_posix_testsuite/bin/openposix_run.sh
create mode 100755 testcases/open_posix_testsuite/scripts/generate-runtest.sh
--
2.53.0
More information about the ltp
mailing list