Introduce test setup helpers.
authorVladimir Prus <vladimir@codesourcery.com>
Mon, 7 Apr 2008 16:32:44 +0000 (16:32 +0000)
committerVladimir Prus <vladimir@codesourcery.com>
Mon, 7 Apr 2008 16:32:44 +0000 (16:32 +0000)
commitdbc528229122320946ed69ba24fcd0d6a0127998
treea0225ab2edc50b6ed06023a34bec992749db41f3
parentf04cc279d0e69c8a8eb54cf6053a5018dc30ceff
Introduce test setup helpers.
        * lib/gdb.exp (build_executable, clean_restart)
        (prepare_for_testing): New.
        * gdb.base/break.exp: Use prepare_for_testing, and clean_restart.
        * gdb.base/return.exp: Likewise.
        * gdb.base/ending-run.exp: Likewise.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/break.exp
gdb/testsuite/gdb.base/ending-run.exp
gdb/testsuite/gdb.base/return.exp
gdb/testsuite/lib/gdb.exp