gdb.base/async.exp: Use prepare_for_testing.

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

	* gdb.base/async.exp: Use prepare_for_testing.
This commit is contained in:
Pedro Alves 2014-03-19 15:22:44 +00:00
parent f48088c7de
commit 148e57e232
2 changed files with 8 additions and 13 deletions

View File

@ -1,3 +1,7 @@
2014-03-19 Pedro Alves <palves@redhat.com>
* gdb.base/async.exp: Use prepare_for_testing.
2014-03-19 Pedro Alves <palves@redhat.com>
* gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in

View File

@ -20,15 +20,6 @@
standard_testfile
if [get_compiler_info] {
return -1
}
if {[build_executable $testfile.exp $testfile $srcfile debug] == -1} {
untested $testfile.exp
return -1
}
########################################
##
## Don't do any of these tests until we reach consensus on this file.
@ -36,10 +27,10 @@ if {[build_executable $testfile.exp $testfile $srcfile debug] == -1} {
return 0
########################################
gdb_exit
gdb_start
gdb_reinitialize_dir $srcdir/$subdir
gdb_load ${binfile}
if {[prepare_for_testing $testfile.exp $testfile $srcfile debug]} {
untested $testfile.exp
return -1
}
gdb_test_no_output "set target-async on"