All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anders Roxell <anders.roxell@linaro.org>
To: ltp@lists.linux.it, pvorel@suse.cz
Subject: [LTP] [PATCH v3 0/4] openposix: Run the Open POSIX tests with kirk
Date: Wed, 25 Nov 2026 22:09:29 +0100	[thread overview]
Message-ID: <20261125210933.2913177-1-anders.roxell@linaro.org> (raw)

Hi,

There are no runtest files for the Open POSIX tests, so kirk can not
run them.

Patch 1 and 2 make the two mqueues_multi_send_rev tests use one thread
by default and remove the .args files. Patch 3 rebuilds run.sh when
the Makefile changes. Patch 4 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 v3:
- Drop "openposix: Install the .args files". Instead use one thread by
  default in multi_send_rev_1 and multi_send_rev_2, and remove the
  .args files and the code in run-tests.sh that reads them. (Petr)
- The runtest files do not read .args files any more.
- New patch: rebuild run.sh when the Makefile changes.

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.

openposix_run.sh does not use t0 like run-tests.sh does. So a hung test
is stopped by the kirk timeout and not after 300 seconds. The kirk
default is 1h for one test and also 1h for the whole suite.

I ran all three runtest files with kirk on qemu-arm64, with a 6.18.54
kernel and a Debian forky rootfs. 1735 tests ran in about 17 minutes:
1694 pass, 40 TCONF and 1 fail (pthread_rwlock_unlock_3-1). The
mqueues_multi_send_rev tests pass with the default of one thread.

v2: https://lore.kernel.org/ltp/20261104225051.402911-1-anders.roxell@linaro.org/
v1: https://lore.kernel.org/ltp/20261023123436.1274448-1-anders.roxell@linaro.org/

Cheers,
Anders

Anders Roxell (4):
  openposix: mqueues: Use one thread by default
  openposix: Remove the .args files
  openposix: Rebuild run.sh when the Makefile changes
  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 +++++++++++++++
 .../open_posix_testsuite/bin/run-tests.sh     |  2 +-
 .../include/mk/config.mk.in                   |  3 ++
 .../scripts/generate-makefiles.sh             |  2 +-
 .../scripts/generate-runtest.sh               | 35 +++++++++++++++++++
 .../mqueues/mqueues_multi_send_rev_1.args     |  1 -
 .../mqueues/mqueues_multi_send_rev_2.args     |  1 -
 .../stress/mqueues/multi_send_rev_1.c         |  8 +++--
 .../stress/mqueues/multi_send_rev_2.c         |  8 +++--
 11 files changed, 94 insertions(+), 12 deletions(-)
 create mode 100755 testcases/open_posix_testsuite/bin/openposix_run.sh
 create mode 100755 testcases/open_posix_testsuite/scripts/generate-runtest.sh
 delete mode 100644 testcases/open_posix_testsuite/stress/mqueues/mqueues_multi_send_rev_1.args
 delete mode 100644 testcases/open_posix_testsuite/stress/mqueues/mqueues_multi_send_rev_2.args

-- 
2.53.0


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

             reply	other threads:[~2026-11-25 21:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 21:09 Anders Roxell [this message]
2026-11-25 21:09 ` [LTP] [PATCH v3 1/4] openposix: mqueues: Use one thread by default Anders Roxell
2026-11-26  3:11   ` [LTP] " linuxtestproject.agent
2026-11-25 21:09 ` [LTP] [PATCH v3 2/4] openposix: Remove the .args files Anders Roxell
2026-11-25 21:09 ` [LTP] [PATCH v3 3/4] openposix: Rebuild run.sh when the Makefile changes Anders Roxell
2026-11-25 21:09 ` [LTP] [PATCH v3 4/4] openposix: Add runtest files for kirk Anders Roxell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261125210933.2913177-1-anders.roxell@linaro.org \
    --to=anders.roxell@linaro.org \
    --cc=ltp@lists.linux.it \
    --cc=pvorel@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.