Linux Test Project
 help / color / mirror / Atom feed
* [LTP] [PATCH v2 0/2] openposix: Run the Open POSIX tests with kirk
@ 2026-11-04 22:50 Anders Roxell
  2026-11-04 22:50 ` [LTP] [PATCH v2 1/2] openposix: Install the .args files Anders Roxell
  2026-11-04 22:50 ` [LTP] [PATCH v2 2/2] openposix: Add runtest files for kirk Anders Roxell
  0 siblings, 2 replies; 5+ messages in thread
From: Anders Roxell @ 2026-11-04 22:50 UTC (permalink / raw)
  To: ltp, pvorel

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


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2026-11-09 13:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-11-04 22:50 [LTP] [PATCH v2 0/2] openposix: Run the Open POSIX tests with kirk Anders Roxell
2026-11-04 22:50 ` [LTP] [PATCH v2 1/2] openposix: Install the .args files Anders Roxell
2026-11-05  0:39   ` [LTP] " linuxtestproject.agent
2026-11-09 13:00   ` [LTP] [PATCH v2 1/2] " Petr Vorel
2026-11-04 22:50 ` [LTP] [PATCH v2 2/2] openposix: Add runtest files for kirk Anders Roxell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox