mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-28 18:54:55 +00: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:
parent
6d864097a2
commit
6331c7d0be
@ -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"))
|
||||
|
Loading…
Reference in New Issue
Block a user