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 3/4] openposix: Rebuild run.sh when the Makefile changes
Date: Wed, 25 Nov 2026 22:09:32 +0100	[thread overview]
Message-ID: <20261125210933.2913177-4-anders.roxell@linaro.org> (raw)
In-Reply-To: <20261125210933.2913177-1-anders.roxell@linaro.org>

run.sh has no prerequisites, so it keeps an old list of tests after
tests are added or removed. Only make clean fixes it.

Make run.sh depend on the Makefile that lists the tests.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
---
 testcases/open_posix_testsuite/scripts/generate-makefiles.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/testcases/open_posix_testsuite/scripts/generate-makefiles.sh b/testcases/open_posix_testsuite/scripts/generate-makefiles.sh
index 1c12a456cc41..b9df91e14b62 100755
--- a/testcases/open_posix_testsuite/scripts/generate-makefiles.sh
+++ b/testcases/open_posix_testsuite/scripts/generate-makefiles.sh
@@ -200,7 +200,7 @@ EOF
 
 	if ! grep -q '^run.sh' "$makefile.3"; then
 		cat >> "$makefile.3" <<EOF
-run.sh:
+run.sh: Makefile
 	@echo '#!/bin/sh' > \$@
 	@echo "\$(top_srcdir)/bin/run-tests.sh \$(subdir) \$(INSTALL_TARGETS)" >> \$@
 	@chmod +x run.sh
-- 
2.53.0


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

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

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 21:09 [LTP] [PATCH v3 0/4] openposix: Run the Open POSIX tests with kirk Anders Roxell
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 ` Anders Roxell [this message]
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-4-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.