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

DJ Delorie dj@redhat.com
Wed Jul 24 23:50:00 GMT 2019


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.

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))



More information about the Libc-alpha mailing list