This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [RFA] Add more parallelization to gdb.base testing
- From: Tom Tromey <tromey at redhat dot com>
- To: dje at google dot com (Doug Evans)
- Cc: gdb-patches at sourceware dot org
- Date: Fri, 22 Jun 2012 10:19:39 -0600
- Subject: Re: [RFA] Add more parallelization to gdb.base testing
- References: <20120618163310.98BF71E136F@ruffy2.mtv.corp.google.com>
>>>>> "Doug" == Doug Evans <dje@google.com> writes:
Doug> This patch speeds up gdb testing at -j6 on my machine from 7mins
Doug> to 4mins. I didn't want to get too carried away here, this felt
Doug> like a good compromise. I split the range into four roughly equal
Doug> partitions alphabet wise, then noticed that [a-g] has far more
Doug> files than the others so made the split more refined. I'm happy
Doug> to use whatever partitioning folks want, I just want the 4mins (or
Doug> better).
Doug> Ok to check in?
We discussed this on irc a bit, but for the record, I think there are
latent bugs that this patch will expose.
For example, several tests in gdb.base use the same executable name:
barimba. egrep 'set testfile.* "break"$' *.exp
completion.exp:set testfile "break"
condbreak.exp:set testfile "break"
define.exp:set testfile "break"
ena-dis-br.exp:set testfile "break"
environ.exp:set testfile "break"
info-proc.exp:set testfile "break"
maint.exp:set testfile "break"
Jan went through and fixed bugs like this for the current split.
Tom