mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-10-05 22:02:55 +01:00
[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:
@@ -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"))
|
||||
|
||||
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user