gdb.base/async.exp: Factor out test pattern to a procedure.
authorPedro Alves <palves@redhat.com>
Wed, 19 Mar 2014 15:22:45 +0000 (15:22 +0000)
committerPedro Alves <palves@redhat.com>
Wed, 19 Mar 2014 15:51:54 +0000 (15:51 +0000)
commit884e37dceb64daa1c6d33f007fb294e809c47847
treeef9f9124a5a535359dadc2d3d2a14f48ef958a27
parent148e57e2327e27e3d8bb6040138ea0843cf55e33
gdb.base/async.exp: Factor out test pattern to a procedure.

All the tests here follow the same pattern (and they all have the same
problem, not fixed here yet).  Add a new procedure, factoring out the
pattern to a simple place.

gdb/testsuite/
2014-03-19  Pedro Alves  <palves@redhat.com>

* gdb.base/async.exp (test_background): New procedure.
Use it for all background execution command tests.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/async.exp