mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-17 13:10:12 +08:00
Use require target_can_use_run_cmd
This changes some tests to use "require target_can_use_run_cmd".
This commit is contained in:
parent
465ee8475e
commit
ec1300f6ea
@ -19,9 +19,7 @@
|
||||
# This testcase cannot use runto_main because of the different prompt
|
||||
# we get when using annotation level 2.
|
||||
#
|
||||
if ![target_can_use_run_cmd] {
|
||||
return 0
|
||||
}
|
||||
require target_can_use_run_cmd
|
||||
|
||||
set breakpoints_invalid "\r\n\032\032breakpoints-invalid\r\n"
|
||||
|
||||
|
@ -19,9 +19,7 @@
|
||||
# This testcase cannot use runto_main because of the different prompt
|
||||
# we get when using annotation level 2.
|
||||
#
|
||||
if ![target_can_use_run_cmd] {
|
||||
return 0
|
||||
}
|
||||
require target_can_use_run_cmd
|
||||
|
||||
|
||||
#
|
||||
|
@ -20,9 +20,7 @@
|
||||
# part of this test.
|
||||
|
||||
# Bail out if the target can't use the 'run' command.
|
||||
if ![target_can_use_run_cmd] {
|
||||
return 0
|
||||
}
|
||||
require target_can_use_run_cmd
|
||||
|
||||
standard_testfile
|
||||
|
||||
|
@ -32,9 +32,7 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile \
|
||||
# This testcase cannot use runto_main because of the different prompt
|
||||
# we get when using annotation level 2.
|
||||
#
|
||||
if ![target_can_use_run_cmd] {
|
||||
return 0
|
||||
}
|
||||
require target_can_use_run_cmd
|
||||
|
||||
set breakpoints_invalid "\r\n\032\032breakpoints-invalid\r\n"
|
||||
set frames_invalid "\r\n\032\032frames-invalid\r\n"
|
||||
|
@ -32,9 +32,7 @@ if {[prepare_for_testing "failed to prepare" $testfile $srcfile \
|
||||
# This testcase cannot use runto_main because of the different prompt
|
||||
# we get when using annotation level 2.
|
||||
#
|
||||
if ![target_can_use_run_cmd] {
|
||||
return 0
|
||||
}
|
||||
require target_can_use_run_cmd
|
||||
|
||||
#
|
||||
# line number where we need to stop in main
|
||||
|
@ -13,9 +13,7 @@
|
||||
# You should have received a copy of the GNU General Public License
|
||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
if ![target_can_use_run_cmd] {
|
||||
return
|
||||
}
|
||||
require target_can_use_run_cmd
|
||||
|
||||
# Until "catch exec" is implemented on other targets...
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user