Skip complex types tests if gdb_skip_float_test
[deliverable/binutils-gdb.git] / gdb / testsuite / lib / gdb.exp
index 758db46d565927e11d63f25b03672a8539889ac6..1230e77909c0dc882d736ebbe5b9f8886acbfec1 100644 (file)
@@ -2176,6 +2176,13 @@ proc with_timeout_factor { factor body } {
 # Return 1 if _Complex types are supported, otherwise, return 0.
 
 gdb_caching_proc support_complex_tests {
+
+    if { [gdb_skip_float_test] } {
+       # If floating point is not supported, _Complex is not
+       # supported.
+       return 0
+    }
+
     # Set up, compile, and execute a test program containing _Complex types.
     # Include the current process ID in the file names to prevent conflicts
     # with invocations for multiple testsuites.
This page took 0.024938 seconds and 4 git commands to generate.