new-ui.exp: Use proc_with_prefix
authorSimon Marchi <simon.marchi@ericsson.com>
Fri, 10 Feb 2017 21:29:45 +0000 (16:29 -0500)
committerSimon Marchi <simon.marchi@ericsson.com>
Fri, 10 Feb 2017 21:29:45 +0000 (16:29 -0500)
gdb/testsuite/ChangeLog:

* gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
proc_with_prefix.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/new-ui.exp

index 105575e7649b7a79dab48fd9da1ca19a436588b4..3274b405165527922bca3ca5575219ce17bc78d2 100644 (file)
@@ -1,3 +1,8 @@
+2017-02-10  Simon Marchi  <simon.marchi@ericsson.com>
+
+       * gdb.base/new-ui.exp (do_test, do_test_invalid_args): Use
+       proc_with_prefix.
+
 2017-02-10  Tom Tromey  <tom@tromey.com>
 
        * gdb.python/py-xmethods.exp: Use "p" command, not "P".
index 40bcc4b08bf9da0b4f1436a61f1aefb8bf3c93c4..8224b7d6154a5276b099f81e83a027f859e0b361 100644 (file)
@@ -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
This page took 0.034372 seconds and 4 git commands to generate.