Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* [PATCH 00/13] test suite parallel safety
@ 2013-08-23 20:36 Tom Tromey
  2013-08-23 20:36 ` [PATCH 04/13] fix up gdb.gdb Tom Tromey
                   ` (12 more replies)
  0 siblings, 13 replies; 27+ messages in thread
From: Tom Tromey @ 2013-08-23 20:36 UTC (permalink / raw)
  To: gdb-patches

This is the final series to make the test suite parallel-safe.  As a
reminder, here parallel safety just means that a given test will not
write (or delete) files outside of the subdirectory assigned by the
gdb test harness.

Even after this series there are stragglers:

First, I only seriously tried this on a single architecture.  So,
there are bound to be issues for other arches.  These are generally
easy to fix; and, if you have inotifytools easy to diagnose as well.
I'll work on this as time permits.  I think this is less serious than
it may sound, as there aren't really that many arch-specific tests
that are likely to have clashes.


Second, Fortran:

    Running ../../../archer/gdb/testsuite/gdb.fortran/library-module.exp ...
    ./ CREATE lib.mod0
    ./ DELETE lib.mod0
    ./ CREATE libmany.mod0
    ./ DELETE libmany.mod0
    Running ../../../archer/gdb/testsuite/gdb.fortran/module.exp ...
    ./ CREATE mod1.mod0
    ./ DELETE mod1.mod0
    ./ CREATE mod2.mod0
    ./ DELETE mod2.mod0
    ./ CREATE modmany.mod0
    ./ DELETE modmany.mod0
    ./ CREATE moduse.mod0
    ./ DELETE moduse.mod0

This happens because the compiler generates these files.  I don't know
of a good, portable (across Fortran compilers) way to fix this.

This is only an issue in practice if we have multiple Fortran modules
with the same name.


And, finally:

    Running ../../../archer/gdb/testsuite/gdb.trace/save-trace.exp ...
    ./ CREATE savetrace.tr
    ./ DELETE savetrace.tr

This is a test for a directory-less save.  It seemed wrong to change
it.


I regression tested this series on x86-64 Fedora 18, both with
GDB_PARALLEL set and without.


After this series, I think we're ready to enable the new parallel
code.

Tom


^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2013-10-18 15:20 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-23 20:36 [PATCH 00/13] test suite parallel safety Tom Tromey
2013-08-23 20:36 ` [PATCH 04/13] fix up gdb.gdb Tom Tromey
2013-08-23 20:36 ` [PATCH 06/13] fix up gdb.mi Tom Tromey
2013-08-25  1:50   ` Yao Qi
2013-10-17 18:45     ` Tom Tromey
2013-08-23 20:37 ` [PATCH 09/13] update checkpoint test Tom Tromey
2013-08-23 20:37 ` [PATCH 03/13] fix weird.exp for parallel testing Tom Tromey
2013-08-23 20:37 ` [PATCH 08/13] simple changes in gdb.base Tom Tromey
2013-08-27 13:31   ` Pedro Alves
2013-10-17 19:58     ` Tom Tromey
2013-08-23 20:37 ` [PATCH 10/13] update fileio test Tom Tromey
2013-08-23 20:37 ` [PATCH 12/13] fix up gdb.server Tom Tromey
2013-08-23 20:37 ` [PATCH 11/13] introduce relative_filename and use it Tom Tromey
2013-08-27 13:44   ` Pedro Alves
2013-10-17 18:59     ` Tom Tromey
2013-08-23 20:37 ` [PATCH 07/13] fix up gdb.trace Tom Tromey
2013-08-27 12:26   ` Pedro Alves
2013-10-17 18:56     ` Tom Tromey
2013-08-23 20:37 ` [PATCH 02/13] fix some simple thinkos in the test suite Tom Tromey
2013-08-23 20:37 ` [PATCH 05/13] fix up gdb.xml Tom Tromey
2013-08-27 12:12   ` Pedro Alves
2013-10-17 18:42     ` Tom Tromey
2013-10-18 15:20       ` Pedro Alves
2013-08-23 20:37 ` [PATCH 13/13] make gdb.asm parallel-safe Tom Tromey
2013-08-27 13:48   ` Pedro Alves
2013-08-27 14:06     ` Tom Tromey
2013-08-23 20:37 ` [PATCH 01/13] fix up log-file toggling Tom Tromey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox