[lldb] Disable complex tests on Windows

The tests fail to compile there:
```
complex/main.c:4:16: error: expected ';' at end of declaration
  float complex complex_float = -1.5f + -2.5f * I;
               ^
               ;
```
This commit is contained in:
Raphael Isemann 2020-06-19 18:40:06 +02:00
parent 6d864097a2
commit 6331c7d0be
2 changed files with 4 additions and 0 deletions

View File

@ -8,6 +8,7 @@ class TestCase(TestBase):
mydir = TestBase.compute_mydir(__file__)
@no_debug_info_test
@skipIfWindows
def test(self):
self.build()
lldbutil.run_to_source_breakpoint(self, "// break here", lldb.SBFileSpec("main.c"))
@ -21,6 +22,7 @@ class TestCase(TestBase):
@no_debug_info_test
# FIXME: LLDB fails to read the imaginary part of the number.
@expectedFailureAll()
@skipIfWindows
def test_long_double(self):
self.build()
lldbutil.run_to_source_breakpoint(self, "// break here", lldb.SBFileSpec("main.c"))

View File

@ -12,6 +12,7 @@ class TestCase(TestBase):
mydir = TestBase.compute_mydir(__file__)
@no_debug_info_test
@skipIfWindows
def test(self):
self.build()
lldbutil.run_to_source_breakpoint(self, "// break here", lldb.SBFileSpec("main.c"))
@ -31,6 +32,7 @@ class TestCase(TestBase):
self.expect_expr("complex_unsigned_long", result_type="_Complex long", result_value="1 + 2i")
@no_debug_info_test
@skipIfWindows
def test_long_long(self):
self.build()
lldbutil.run_to_source_breakpoint(self, "// break here", lldb.SBFileSpec("main.c"))