This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] testsuite: Fix racy clashing for gdb.base{1,2}/ parallel run
- From: Tom Tromey <tromey at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 13 Jul 2009 10:29:17 -0600
- Subject: Re: [patch] testsuite: Fix racy clashing for gdb.base{1,2}/ parallel run
- References: <20090712181146.GA9009@host0.dyn.jankratochvil.net>
- Reply-to: Tom Tromey <tromey at redhat dot com>
>>>>> "Jan" == Jan Kratochvil <jan.kratochvil@redhat.com> writes:
Jan> randomly some testcases fail now with paralell testsuite due to:
Thanks for finding and fixing this.
Jan> Some scripts have bugs so that their binary files are created in
Jan> the current directory (and not in ${subdir}). Therefore if there
Jan> would be a change so that the current directory is always in
Jan> ${objdir} (therefore in gdb.base1) it may be better to globally
Jan> change the current directory to be in ${objdir}/${subdir}.
Yeah, consistency here would be nice.
This patch is ok. I didn't know about prepare_for_testing -- it seems
to me that we should use this more.
Tom