mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-23 13:30:06 +00:00
test-container: Install with $(all-subdirs) [BZ #24794]
Whenever a sub-make is created, it inherits the variable subdirs from its
parent. This is also true when make check is called with a restricted
list of subdirs. In this scenario, make install is executed "partially"
and testroot.pristine ends up with an incomplete installation.
[BZ #24794]
* Makefile (testroot.pristine/install.stamp): Pass
subdirs='$(all-subdirs)' to make install.
Reviewed-by: DJ Delorie <dj@redhat.com>
(cherry picked from commit 35e038c1d2
)
This commit is contained in:
parent
2c9083f93d
commit
edceb7f520
3
Makefile
3
Makefile
@ -395,7 +395,8 @@ ifeq ($(run-built-tests),yes)
|
||||
$(test-wrapper) cp $$dso $(objpfx)testroot.pristine$$dso ;\
|
||||
done
|
||||
endif
|
||||
$(MAKE) install DESTDIR=$(objpfx)testroot.pristine
|
||||
$(MAKE) install DESTDIR=$(objpfx)testroot.pristine \
|
||||
subdirs='$(all-subdirs)'
|
||||
touch $(objpfx)testroot.pristine/install.stamp
|
||||
|
||||
tests-special-notdir = $(patsubst $(objpfx)%, %, $(tests-special))
|
||||
|
Loading…
Reference in New Issue
Block a user