diff options
author | Michael Snyder <msnyder@vmware.com> | 2010-06-02 21:50:56 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2010-06-02 21:50:56 +0000 |
commit | 894933089d664b0d6aafbd804428de7c104a5f61 (patch) | |
tree | 1ee28dc427e4de44150f40f36f4edab1b0b816d1 /gdb/testsuite/gdb.python | |
parent | 019ebafccd66a364969a7987cedaf96039ce1d54 (diff) | |
download | gdb-894933089d664b0d6aafbd804428de7c104a5f61.zip gdb-894933089d664b0d6aafbd804428de7c104a5f61.tar.gz gdb-894933089d664b0d6aafbd804428de7c104a5f61.tar.bz2 |
2010-06-02 Michael Snyder <msnyder@vmware.com>
* gdb.python/py-block.exp: Use gdb_test_no_output.
* gdb.python/py-prettyprint.exp: Ditto.
* gdb.python/py-template.exp: Ditto.
* gdb.python/py-value.exp: Ditto.
* gdb.reverse/watch-precsave.exp: Use gdb_test_no_output.
* gdb.reverse/watch-reverse.exp: Ditto.
* gdb.server/ext-attach.exp: Use gdb_test_no_output.
* gdb.server/ext-run.exp: Ditto.
Diffstat (limited to 'gdb/testsuite/gdb.python')
-rw-r--r-- | gdb/testsuite/gdb.python/py-block.exp | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-prettyprint.exp | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-template.exp | 2 | ||||
-rw-r--r-- | gdb/testsuite/gdb.python/py-value.exp | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/gdb/testsuite/gdb.python/py-block.exp b/gdb/testsuite/gdb.python/py-block.exp index c1ea250..9826e61 100644 --- a/gdb/testsuite/gdb.python/py-block.exp +++ b/gdb/testsuite/gdb.python/py-block.exp @@ -66,9 +66,9 @@ gdb_test "python print block.start" "${decimal}" "Check start not None" gdb_test "python print block.end" "${decimal}" "Check end not None" # Move up superblock(s) until we reach function block_func. -gdb_test "python block = block.superblock" "" "Get superblock" +gdb_test_no_output "python block = block.superblock" "Get superblock" gdb_test "python print block.function" "None" "Second anonymous block" -gdb_test "python block = block.superblock" "" "Get superblock" +gdb_test_no_output "python block = block.superblock" "Get superblock 2" gdb_test "python print block.function" "block_func" # Switch frames, then test for main block. diff --git a/gdb/testsuite/gdb.python/py-prettyprint.exp b/gdb/testsuite/gdb.python/py-prettyprint.exp index 2c14c59..1fbf0ca 100644 --- a/gdb/testsuite/gdb.python/py-prettyprint.exp +++ b/gdb/testsuite/gdb.python/py-prettyprint.exp @@ -63,7 +63,7 @@ proc run_lang_tests {lang} { return } - gdb_test "set print pretty on" "" + gdb_test_no_output "set print pretty on" gdb_test "b [gdb_get_line_number {break to inspect} ${testfile}.c ]" \ ".*Breakpoint.*" @@ -71,7 +71,7 @@ proc run_lang_tests {lang} { set remote_python_file [remote_download host ${srcdir}/${subdir}/${testfile}.py] - gdb_test "python execfile ('${remote_python_file}')" "" + gdb_test_no_output "python execfile ('${remote_python_file}')" gdb_test "print ss" " = a=< a=<1> b=<$hex>> b=< a=<2> b=<$hex>>" gdb_test "print ssa\[1\]" " = a=< a=<5> b=<$hex>> b=< a=<6> b=<$hex>>" diff --git a/gdb/testsuite/gdb.python/py-template.exp b/gdb/testsuite/gdb.python/py-template.exp index 9089de6..af59353 100644 --- a/gdb/testsuite/gdb.python/py-template.exp +++ b/gdb/testsuite/gdb.python/py-template.exp @@ -53,7 +53,7 @@ proc test_template_arg {type} { } # There is no executable code in main(), so we are where we want to be gdb_test "print foo" "" - gdb_test "python foo = gdb.history(0)" "" + gdb_test_no_output "python foo = gdb.history(0)" # Replace '*' with '\*' in regex. regsub -all {\*} $type {\*} t diff --git a/gdb/testsuite/gdb.python/py-value.exp b/gdb/testsuite/gdb.python/py-value.exp index 67a2ff9..973ee5c 100644 --- a/gdb/testsuite/gdb.python/py-value.exp +++ b/gdb/testsuite/gdb.python/py-value.exp @@ -116,7 +116,7 @@ proc test_value_numeric_ops {} { # Conversion test. gdb_test "print evalue" " = TWO" - gdb_test "python evalue = gdb.history (0)" "" + gdb_test_no_output "python evalue = gdb.history (0)" gdb_test "python print int (evalue)" "2" # Test pointer arithmethic |