From patchwork Tue Jul 9 17:32:43 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 33637 Received: (qmail 117045 invoked by alias); 9 Jul 2019 17:32:49 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 116975 invoked by uid 89); 9 Jul 2019 17:32:48 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-18.5 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mx1.redhat.com From: Florian Weimer To: libc-alpha@sourceware.org Subject: [PATCH] test-in-container: Install locales into the test container Date: Tue, 09 Jul 2019 19:32:43 +0200 Message-ID: <874l3vf70k.fsf@oldenburg2.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 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 * 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))