aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/new-ui.exp
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@ericsson.com>2017-02-10 16:29:45 -0500
committerSimon Marchi <simon.marchi@ericsson.com>2017-02-10 16:29:45 -0500
commitb761ca9e3d6e9c0f1762e0994dfdf2b989e3fc21 (patch)
tree556fd68dfdd3f58037b90fac12502b4f225386b7 /gdb/testsuite/gdb.base/new-ui.exp
parent0b145e37a29cd96e567293dc69c0fd4f8af243b9 (diff)
downloadfsf-binutils-gdb-b761ca9e3d6e9c0f1762e0994dfdf2b989e3fc21.zip
fsf-binutils-gdb-b761ca9e3d6e9c0f1762e0994dfdf2b989e3fc21.tar.gz
fsf-binutils-gdb-b761ca9e3d6e9c0f1762e0994dfdf2b989e3fc21.tar.bz2
new-ui.exp: Use proc_with_prefix
gdb/testsuite/ChangeLog: * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use proc_with_prefix.
Diffstat (limited to 'gdb/testsuite/gdb.base/new-ui.exp')
-rw-r--r--gdb/testsuite/gdb.base/new-ui.exp8
1 files changed, 4 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.base/new-ui.exp b/gdb/testsuite/gdb.base/new-ui.exp
index 40bcc4b..8224b7d 100644
--- a/gdb/testsuite/gdb.base/new-ui.exp
+++ b/gdb/testsuite/gdb.base/new-ui.exp
@@ -73,7 +73,7 @@ proc do_execution_tests {con1 con1_name con2 con2_name} {
# The test proper.
-proc do_test {} {
+proc_with_prefix do_test {} {
global srcfile testfile
global gdb_prompt
global gdb_spawn_id
@@ -145,7 +145,7 @@ proc do_test {} {
# Test missing / invalid arguments.
-proc do_test_invalid_args {} {
+proc_with_prefix do_test_invalid_args {} {
global testfile
clean_restart $testfile
@@ -169,5 +169,5 @@ proc do_test_invalid_args {} {
}
}
-with_test_prefix "do_test" do_test
-with_test_prefix "do_test_invalid_args" do_test_invalid_args
+do_test
+do_test_invalid_args