Patchwork test-container: Install with $(all-subdirs) [BZ #24794]

login
register
mail settings
Submitter DJ Delorie
Date July 24, 2019, 11:50 p.m.
Message ID <xny30nhu0z.fsf@greed.delorie.com>
Download mbox | patch
Permalink /patch/33792/
State New
Headers show

Comments

DJ Delorie - July 24, 2019, 11:50 p.m.
Tulio Magno Quites Machado Filho <tuliom@ascii.art.br> writes:
> I'll take a look and see what's missing.

How about this?  The initial setting of subdirs is from Makeconfig:

subdirs = $(sorted-subdirs)

With this change, tst-nss-files-hosts-long passes, where
it failed before with a clean testroot install.

Patch

diff --git a/Makefile b/Makefile
index 9fbf705200..ac1125853b 100644
--- a/Makefile
+++ b/Makefile
@@ -402,7 +402,7 @@  ifeq ($(run-built-tests),yes)
 	  done
 endif
 	$(MAKE) install DESTDIR=$(objpfx)testroot.pristine \
-	  subdirs='$(all-subdirs)'
+	  subdirs='$(sorted-subdirs)'
 	touch $(objpfx)testroot.pristine/install.stamp
 
 tests-special-notdir = $(patsubst $(objpfx)%, %, $(tests-special))