testsuite: Disable some tests when logging
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / debug-expr.exp
index 8885ec6b9b08c5d98e278f5bce770a4e8d36f08d..6da591b9cadade6e56d1fd599b102b62c7a59d90 100644 (file)
 
 # Test "set debug expr 1" on c expressions.
 
+# 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 .c
 
 if {[prepare_for_testing "failed to prepare" $testfile $srcfile {debug}]} {
This page took 0.024693 seconds and 4 git commands to generate.