mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-20 01:50:24 +08:00
gdb/testsuite: use build_executable in gdb.server/stop-reply-no-thread.exp
This test uses prepare_for_testing, then does a clean_restart for each test configuration. prepare_for_testing does a build_executable plus a clean_restart. So the clean_restart inside prepare_for_testing is done for nothing. Change prepare_for_testing to just build_executable to avoid the unnecessary clean_restart. gdb/testsuite/ChangeLog: * gdb.server/stop-reply-no-thread.exp: Use build_executable instead of prepare_for_testing. Change-Id: I8b2a2e90353c57c39c49a3665083331b4882fdd0
This commit is contained in:

committed by
Simon Marchi

parent
a754fbdfa2
commit
7b0ff8a22a
@ -1,3 +1,8 @@
|
||||
2021-01-04 Simon Marchi <simon.marchi@efficios.com>
|
||||
|
||||
* gdb.server/stop-reply-no-thread.exp: Use build_executable
|
||||
instead of prepare_for_testing.
|
||||
|
||||
2021-01-04 Simon Marchi <simon.marchi@efficios.com>
|
||||
|
||||
* gdb.server/solib-list.exp: Use clean_restart.
|
||||
|
@ -28,7 +28,7 @@ if { [skip_gdbserver_tests] } {
|
||||
}
|
||||
|
||||
standard_testfile
|
||||
if [prepare_for_testing "failed to prepare" $testfile $srcfile] {
|
||||
if { [build_executable "failed to prepare" $testfile $srcfile] == -1 } {
|
||||
return -1
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user