diff mbox series

test-in-container: Install locales into the test container

Message ID 874l3vf70k.fsf@oldenburg2.str.redhat.com
State New
Headers show
Series test-in-container: Install locales into the test container | expand

Commit Message

Florian Weimer July 9, 2019, 5:32 p.m. UTC
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 mbox series

Patch

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