diff options
author | Tom Tromey <tom@tromey.com> | 2022-12-14 16:42:16 -0700 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2023-01-13 13:18:56 -0700 |
commit | e5bf39c507a7806f0926a35a81b78b5cc5273c6a (patch) | |
tree | 2d48f13809857310a068e3c1d9f85338fbc6e835 /gdb/testsuite/gdb.base/style-logging.exp | |
parent | 402c7447615b8099756e68d8d6d0d1627133a863 (diff) | |
download | fsf-binutils-gdb-e5bf39c507a7806f0926a35a81b78b5cc5273c6a.zip fsf-binutils-gdb-e5bf39c507a7806f0926a35a81b78b5cc5273c6a.tar.gz fsf-binutils-gdb-e5bf39c507a7806f0926a35a81b78b5cc5273c6a.tar.bz2 |
Use require !gdb_debug_enabled
This changes some tests to use "require !gdb_debug_enabled".
Diffstat (limited to 'gdb/testsuite/gdb.base/style-logging.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/style-logging.exp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.base/style-logging.exp b/gdb/testsuite/gdb.base/style-logging.exp index 75b0708..dcf1357 100644 --- a/gdb/testsuite/gdb.base/style-logging.exp +++ b/gdb/testsuite/gdb.base/style-logging.exp @@ -16,10 +16,7 @@ # Test that logging does not style. # Do not run if gdb debug is enabled as it will interfere with log redirect. -if {[gdb_debug_enabled]} { - untested "debug is enabled" - return 0 -} +require !gdb_debug_enabled if {[is_remote host]} { untested "does not work on remote host" |