aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/style-logging.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/style-logging.exp')
-rw-r--r--gdb/testsuite/gdb.base/style-logging.exp5
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"