From 52c0551e9ac03a54e282f9e17d3291c1c8848a7b Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Sun, 22 Jan 2023 13:38:26 -0700 Subject: Use require with is_remote This changes some tests to use require with 'is_remote', rather than an explicit test. This adds uniformity helps clean up more spots where a test might exit early without any notification. --- gdb/testsuite/gdb.python/py-pp-maint.exp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'gdb/testsuite/gdb.python') diff --git a/gdb/testsuite/gdb.python/py-pp-maint.exp b/gdb/testsuite/gdb.python/py-pp-maint.exp index 5e5b803..dc5a1a6 100644 --- a/gdb/testsuite/gdb.python/py-pp-maint.exp +++ b/gdb/testsuite/gdb.python/py-pp-maint.exp @@ -16,10 +16,7 @@ # This file is part of the GDB testsuite. It tests Python-based # pretty-printing for the CLI. -if [is_remote host] { - untested "py-pp-maint.exp can only be run locally" - return -1 -} +require {!is_remote host} load_lib gdb-python.exp -- cgit v1.1