From 77d3c63b0dc9d275a87d4ea2191ebd3830f6ca4a Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 2 May 2018 16:37:57 -0600 Subject: [PATCH] Set test message in py-parameter.exp Pedro pointed out that a test in py-parameter.exp had an empty message. This fixes it. testsuite/ChangeLog 2018-05-02 Tom Tromey * gdb.python/py-parameter.exp: Set test message. --- gdb/testsuite/ChangeLog | 4 ++++ gdb/testsuite/gdb.python/py-parameter.exp | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 5bbcb2f4206..9addcbb9e93 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2018-05-02 Tom Tromey + + * gdb.python/py-parameter.exp: Set test message. + 2018-05-02 Tom Tromey PR python/20084: diff --git a/gdb/testsuite/gdb.python/py-parameter.exp b/gdb/testsuite/gdb.python/py-parameter.exp index b9ff9f1ec0c..1ea79b8946b 100644 --- a/gdb/testsuite/gdb.python/py-parameter.exp +++ b/gdb/testsuite/gdb.python/py-parameter.exp @@ -197,7 +197,8 @@ foreach kind {PARAM_ZUINTEGER PARAM_ZUINTEGER_UNLIMITED} { if {$kind == "PARAM_ZUINTEGER"} { gdb_test "python test_param_$kind.value = -1" "RuntimeError: Range exceeded.*" } else { - gdb_test_no_output "python test_param_$kind.value = -1" "" + gdb_test_no_output "python test_param_$kind.value = -1" \ + "check that PARAM_ZUINTEGER value can be set to -1" gdb_test "python print(gdb.parameter('test-$kind'))" "-1" \ "check that PARAM_ZUINTEGER value is -1 after setting" } -- 2.30.2