public inbox for gdb-patches@sourceware.org
 help / color / mirror / Atom feed
* [OB PATCH] GDB/testsuite: Fix PARAM_ZUINTEGER reported for PARAM_ZUINTEGER_UNLIMITED
@ 2022-08-17 22:01 Maciej W. Rozycki
  0 siblings, 0 replies; only message in thread
From: Maciej W. Rozycki @ 2022-08-17 22:01 UTC (permalink / raw)
  To: gdb-patches

Correctly report PARAM_ZUINTEGER_UNLIMITED rather than PARAM_ZUINTEGER 
in testing a Python parameter of the PARAM_ZUINTEGER_UNLIMITED type.
---
Hi,

 Committed as obvious.

  Maciej
---
 gdb/testsuite/gdb.python/py-parameter.exp |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

gdb-test-python-param-zuinteger-unlimited.diff
Index: src/gdb/testsuite/gdb.python/py-parameter.exp
===================================================================
--- src.orig/gdb/testsuite/gdb.python/py-parameter.exp
+++ src/gdb/testsuite/gdb.python/py-parameter.exp
@@ -346,9 +346,9 @@ proc_with_prefix test_integer_parameter
 	    gdb_test "python test_param_$kind.value = -1" "RuntimeError: Range exceeded.*"
 	} elseif {$kind == "PARAM_ZUINTEGER_UNLIMITED"} {
 	    gdb_test_no_output "python test_param_$kind.value = -1" \
-		"check that PARAM_ZUINTEGER value can be set to -1"
+		"check that PARAM_ZUINTEGER_UNLIMITED value can be set to -1"
 	    gdb_test "python print(gdb.parameter('test-$kind'))" "-1" \
-		"check that PARAM_ZUINTEGER value is -1 after setting"
+		"check that PARAM_ZUINTEGER_UNLIMITED value is -1 after setting"
 	} else {
 	    error "invalid kind: $kind"
 	}

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-17 22:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-17 22:01 [OB PATCH] GDB/testsuite: Fix PARAM_ZUINTEGER reported for PARAM_ZUINTEGER_UNLIMITED Maciej W. Rozycki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).