This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] test-in-container: Install locales into the test container


The testing time impact of this change is significant: It increases
total test time from ~13 to ~15 minutes for me.  However, I do not
see any other way to run locale-dependent tests in a container.

2019-07-09  Florian Weimer  <fweimer@redhat.com>

	* Makefile (testroot.pristine/install.stamp): Install locales.

diff --git a/Makefile b/Makefile
index dc5de7aa6b..23c4326980 100644
--- a/Makefile
+++ b/Makefile
@@ -402,6 +402,7 @@ ifeq ($(run-built-tests),yes)
 	  done
 endif
 	$(MAKE) install DESTDIR=$(objpfx)testroot.pristine
+	$(MAKE) localedata/install-locales DESTDIR=$(objpfx)testroot.pristine
 	touch $(objpfx)testroot.pristine/install.stamp
 
 tests-special-notdir = $(patsubst $(objpfx)%, %, $(tests-special))


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]