Set test message in py-parameter.exp
authorTom Tromey <tom@tromey.com>
Wed, 2 May 2018 22:37:57 +0000 (16:37 -0600)
committerTom Tromey <tom@tromey.com>
Wed, 2 May 2018 22:37:57 +0000 (16:37 -0600)
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.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.python/py-parameter.exp

index 5bbcb2f4206e5c10133c31fe4f831782c41d5456..9addcbb9e93868a52df1e28c7058062b9c98db10 100644 (file)
@@ -1,3 +1,7 @@
+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:
index b9ff9f1ec0c6a4553342c9804d1264c15ae6b5b7..1ea79b8946bbc3f40725805eb5ddcde96193d432 100644 (file)
@@ -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"
     }
This page took 0.031837 seconds and 4 git commands to generate.