From: Tom Tromey Date: Wed, 2 May 2018 22:37:57 +0000 (-0600) Subject: Set test message in py-parameter.exp X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=77d3c63b0dc9d275a87d4ea2191ebd3830f6ca4a;p=binutils-gdb.git 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. --- 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" }