aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-05-02 16:37:57 -0600
committerTom Tromey <tom@tromey.com>2018-05-02 16:37:57 -0600
commit77d3c63b0dc9d275a87d4ea2191ebd3830f6ca4a (patch)
treee6c11d97ff0916590b908c877a3d5637c1e95a05 /gdb/testsuite
parent0489430a0e1a3ea302c22c540f3629e471591f23 (diff)
downloadgdb-77d3c63b0dc9d275a87d4ea2191ebd3830f6ca4a.zip
gdb-77d3c63b0dc9d275a87d4ea2191ebd3830f6ca4a.tar.gz
gdb-77d3c63b0dc9d275a87d4ea2191ebd3830f6ca4a.tar.bz2
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 <tom@tromey.com> * gdb.python/py-parameter.exp: Set test message.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/ChangeLog4
-rw-r--r--gdb/testsuite/gdb.python/py-parameter.exp3
2 files changed, 6 insertions, 1 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog
index 5bbcb2f..9addcbb9 100644
--- a/gdb/testsuite/ChangeLog
+++ b/gdb/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2018-05-02 Tom Tromey <tom@tromey.com>
+ * gdb.python/py-parameter.exp: Set test message.
+
+2018-05-02 Tom Tromey <tom@tromey.com>
+
PR python/20084:
* gdb.python/py-parameter.exp: Add PARAM_ZUINTEGER and
PARAM_ZUINTEGER_UNLIMITED tests.
diff --git a/gdb/testsuite/gdb.python/py-parameter.exp b/gdb/testsuite/gdb.python/py-parameter.exp
index b9ff9f1..1ea79b8 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"
}