public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mike Gilbert" <floppym@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/sandbox:master commit in: tests/
Date: Tue, 14 Jan 2025 04:38:22 +0000 (UTC)	[thread overview]
Message-ID: <1736309309.9a224dc58838a40f9cde565bb52fd125ab002d49.floppym@gentoo> (raw)
Message-ID: <20250114043822.KsyH34KbQjgeRl-uxLWuYuaT7K10pmlxlTjlf1aiy_s@z> (raw)

commit:     9a224dc58838a40f9cde565bb52fd125ab002d49
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  8 04:08:29 2025 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Wed Jan  8 04:08:29 2025 +0000
URL:        https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=9a224dc5

tests: fix testsuite generation for out-of-source build

Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 tests/local.mk | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/tests/local.mk b/tests/local.mk
index 8bf5da5..4f166cc 100644
--- a/tests/local.mk
+++ b/tests/local.mk
@@ -142,12 +142,12 @@ clean-local:
 TESTSUITE_LIST = $(top_srcdir)/%D%/testsuite.list.at
 AUTOTEST = $(AUTOM4TE) --language=autotest
 $(TESTSUITE): $(AT_FILES) $(TESTSUITE_LIST)
-	@$(MKDIR_P) $(top_srcdir)/%D%
-	$(AM_V_GEN)cd $(top_srcdir)/%D% && $(AUTOTEST) -I. -o testsuite.tmp testsuite.at
-	$(AM_V_at)mv $@.tmp $@
+	@$(MKDIR_P) '$(top_srcdir)/%D%'
+	$(AM_V_GEN)$(AUTOTEST) -I'%D%' -I'$(top_srcdir)/%D%' -o '$@.tmp' '$@.at'
+	$(AM_V_at)mv '$@.tmp' '$@'
 
 $(TESTSUITE_LIST): $(AT_FILES)
 	@$(MKDIR_P) $(top_srcdir)/%D%
 	$(AM_V_GEN)( echo "dnl DO NOT EDIT: GENERATED BY MAKEFILE.AM"; \
 	$(GREP) -l -e '^SB_CHECK' -e '^AT_CHECK' $(AT_FILES) | LC_ALL=C sort | \
-		$(SED) -e 's:^[^/]*/%D%/:sb_inc([:' -e 's:[.]at$$:]):' ) > $@
+		$(SED) -e 's:^.*/%D%/:sb_inc([:' -e 's:[.]at$$:]):' ) > $@


             reply	other threads:[~2025-01-14  4:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-08  4:09 Mike Gilbert [this message]
2025-01-14  4:38 ` [gentoo-commits] proj/sandbox:master commit in: tests/ Mike Gilbert
  -- strict thread matches above, loose matches on Subject: below --
2025-01-08  3:29 [gentoo-commits] proj/sandbox:stable-2.x " Mike Gilbert
2025-01-08  3:04 Mike Gilbert
2024-11-11 22:48 Sam James
2023-07-01 23:54 Mike Gilbert
2023-06-22 13:55 Mike Gilbert
2023-06-22 13:55 Mike Gilbert

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=1736309309.9a224dc58838a40f9cde565bb52fd125ab002d49.floppym@gentoo \
    --to=floppym@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox