test-in-container: Install locales into the test container
Commit Message
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.
@@ -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))