Split gdb.multi/multi-target.exp into separate testcases
authorPedro Alves <pedro@palves.net>
Fri, 18 Sep 2020 12:40:18 +0000 (13:40 +0100)
committerPedro Alves <pedro@palves.net>
Fri, 18 Sep 2020 12:40:18 +0000 (13:40 +0100)
commite11daf7a2e0e08e0820f528175113134151a1a14
tree66d1b8c0ed4ef15c5f7f04344bd4c2c1a0bb7cce
parent5947daaf7545b2887abb977af6700b4cc9a807be
Split gdb.multi/multi-target.exp into separate testcases

gdb.multi/multi-target.exp sets up a debug environment with multiple
gdbservers, multiple native processes, and multiple cores, which has
proved useful for exercising a number of multi-target scenarios.

But, as we add more tests to gdb.base/multi-target.exp, it is growing
a bit too large (making a bit cumbersome to debug) and too slow to run
(if you have glibc debug info).

This commit thus splits the multi-target.exp into several testcases,
one per use case.  The common setup code is moved to a new
multi-target.exp.tcl file that is included by all the resulting
multi-target testcases.

gdb/testsuite/ChangeLog:

* gdb.multi/multi-target-continue.exp: New file, factored out from
multi-target.exp.
* gdb.multi/multi-target-info-inferiors.exp: New file, factored out from
multi-target.exp.
* gdb.multi/multi-target-interrupt.exp: New file, factored out from
multi-target.exp.
* gdb.multi/multi-target-no-resumed.exp: New file, factored out from
multi-target.exp.
* gdb.multi/multi-target-ping-pong-next.exp: New file, factored out from
multi-target.exp.
* gdb.multi/multi-target.exp.tcl: New file, factored out from
multi-target.exp.
* gdb.multi/multi-target.exp: Delete.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.multi/multi-target-continue.exp [new file with mode: 0644]
gdb/testsuite/gdb.multi/multi-target-info-inferiors.exp [new file with mode: 0644]
gdb/testsuite/gdb.multi/multi-target-interrupt.exp [new file with mode: 0644]
gdb/testsuite/gdb.multi/multi-target-no-resumed.exp [new file with mode: 0644]
gdb/testsuite/gdb.multi/multi-target-ping-pong-next.exp [new file with mode: 0644]
gdb/testsuite/gdb.multi/multi-target.exp [deleted file]
gdb/testsuite/gdb.multi/multi-target.exp.tcl [new file with mode: 0644]