public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Florian Weimer <fweimer@redhat.com>
To: DJ Delorie <dj@redhat.com>
Cc: libc-alpha@sourceware.org
Subject: Re: [PATCH] test-in-container: Install locales into the test container
Date: Tue, 09 Jul 2019 20:52:00 -0000	[thread overview]
Message-ID: <87sgrfc4n5.fsf@oldenburg2.str.redhat.com> (raw)
In-Reply-To: <xnbly3qdyy.fsf@greed.delorie.com> (DJ Delorie's message of "Tue, 09 Jul 2019 14:07:01 -0400")

* DJ Delorie:

> Florian Weimer <fweimer@redhat.com> writes:
>> 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.
>
> This is also the only way to auto-test "make install-locales" too :-)
>
>>  	$(MAKE) install DESTDIR=$(objpfx)testroot.pristine
>> +	$(MAKE) localedata/install-locales DESTDIR=$(objpfx)testroot.pristine
>>  	touch $(objpfx)testroot.pristine/install.stamp
>
> This matches what's documented in INSTALL so LGTM.
>
> Reviewed-by: DJ Delorie <dj@redhat.com>

The problem is that the delay also applies to partial runs of the test
suite:

$ time make -j8 subdirs=resolv check

goes from:

real    0m8.792s
user    0m15.486s
sys     0m6.017s

to:

real    2m5.588s
user    13m20.667s
sys     0m44.631s

Compare this to the time of a clean glibc build on this machine:

real    1m42.489s
user    8m20.556s
sys     2m6.281s

This is a bit embarrassing because the pristine container constructed in
this way is not even correct (bug 24794).

I think applying this patch as-is would make glibc development
substantially more difficult for me.

Thanks,
Florian

  reply	other threads:[~2019-07-09 20:52 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-09 17:32 Florian Weimer
2019-07-09 18:07 ` DJ Delorie
2019-07-09 20:52   ` Florian Weimer [this message]
2019-07-09 20:59     ` DJ Delorie
2019-07-09 21:02       ` Florian Weimer
2019-07-09 21:11         ` Partial test suite run builds corrupt test-in-container testroot Carlos O'Donell
2019-07-10  0:36           ` DJ Delorie
2019-07-10  5:50             ` Florian Weimer
2019-07-10 16:34               ` DJ Delorie
2019-07-10 16:35                 ` Florian Weimer
2019-07-10 16:38                   ` DJ Delorie
2019-07-19 11:52                     ` Florian Weimer
2019-07-22 20:45                       ` [PATCH] test-container: Install with $(all-subdirs) [BZ #24794] Tulio Magno Quites Machado Filho
2019-07-22 20:56                         ` DJ Delorie
2019-07-23 16:29                           ` Tulio Magno Quites Machado Filho
2019-07-24 14:48                             ` Stefan Liebler
2019-07-24 15:32                               ` Tulio Magno Quites Machado Filho
2019-07-24 20:40                                 ` Carlos O'Donell
2019-07-24 23:50                                 ` DJ Delorie
2019-07-25  0:03                                 ` [PATCH] test-container: Install with $(sorted-subdirs) " Tulio Magno Quites Machado Filho
2019-07-25  1:32                                   ` DJ Delorie
2019-07-25 12:46                                   ` Szabolcs Nagy
2019-07-25 12:56                                     ` Carlos O'Donell
2019-07-29 13:36                                       ` Tulio Magno Quites Machado Filho
2022-01-27 15:25                                         ` H.J. Lu
2019-07-25 13:24                                   ` Stefan Liebler
2019-07-09 21:08     ` [PATCH] test-in-container: Install locales into the test container Carlos O'Donell
2019-07-09 23:55       ` DJ Delorie
2019-07-12  4:02         ` Carlos O'Donell
2019-07-12  5:49         ` Florian Weimer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sgrfc4n5.fsf@oldenburg2.str.redhat.com \
    --to=fweimer@redhat.com \
    --cc=dj@redhat.com \
    --cc=libc-alpha@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).