testsuite: Disable some tests when logging
[external/binutils.git] / gdb / testsuite / gdb.base / sss-bp-on-user-bp-2.exp
index 898233a..d25ad79 100644 (file)
 # 4 - The single-step finishes, and GDB removes the single-step
 #     breakpoint.
 
+# Test relies on checking gdb debug output. Do not run if gdb debug is
+# enabled as any debug will be redirected to the log.
+if [gdb_debug_enabled] {
+    untested "debug is enabled"
+    return 0
+}
+
 standard_testfile
 
 if {[prepare_for_testing "failed to prepare" $testfile $srcfile debug]} {