commit:     f0c2f2fddb668c78d3204bd6dcf212d784351584
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Wed Jan  8 03:22:39 2025 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Wed Jan  8 03:22:39 2025 +0000
URL:        https://gitweb.gentoo.org/proj/sandbox.git/commit/?id=f0c2f2fd

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

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

 tests/local.mk | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/local.mk b/tests/local.mk
index 1e2ea9e..8bf5da5 100644
--- a/tests/local.mk
+++ b/tests/local.mk
@@ -142,7 +142,8 @@ clean-local:
 TESTSUITE_LIST = $(top_srcdir)/%D%/testsuite.list.at
 AUTOTEST = $(AUTOM4TE) --language=autotest
 $(TESTSUITE): $(AT_FILES) $(TESTSUITE_LIST)
-       $(AM_V_GEN)$(AUTOTEST) -I'$(top_srcdir)/%D%' -o $@.tmp $@.at
+       @$(MKDIR_P) $(top_srcdir)/%D%
+       $(AM_V_GEN)cd $(top_srcdir)/%D% && $(AUTOTEST) -I. -o testsuite.tmp 
testsuite.at
        $(AM_V_at)mv $@.tmp $@
 
 $(TESTSUITE_LIST): $(AT_FILES)

Reply via email to