forked from OSchip/llvm-project
tests: XFAIL/UNSUPPORTED tests on Windows
Now that we are building the python bindings on Windows once more, the extended testsuite is running. Mark a few failing tests and skip a few tests which hang. This should at least bring the bot back to green without reverting the Python changes which are an improvement for the build system and enable another ~35% of the test suite which was previously disabled.
This commit is contained in:
parent
8dd9a13619
commit
fb170fd652
|
@ -58,6 +58,7 @@ class SettingsCommandTestCase(TestBase):
|
|||
'[3]: "b"',
|
||||
'[4]: "c"'])
|
||||
|
||||
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr44430")
|
||||
def test_replace_target_run_args(self):
|
||||
"""Test that 'replace target.run-args' works."""
|
||||
# Set the run-args and then replace the index-0 element.
|
||||
|
@ -106,6 +107,7 @@ class SettingsCommandTestCase(TestBase):
|
|||
substrs=["term-width (int) = 70"])
|
||||
|
||||
# rdar://problem/10712130
|
||||
@skipIf(oslist=["windows"], bugnumber="llvm.org/pr44431")
|
||||
def test_set_frame_format(self):
|
||||
"""Test that 'set frame-format' with a backtick char in the format string works as well as fullpath."""
|
||||
self.build()
|
||||
|
@ -356,6 +358,7 @@ class SettingsCommandTestCase(TestBase):
|
|||
'thread-format (format-string) = "abc def "')
|
||||
self.runCmd('settings clear thread-format')
|
||||
|
||||
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr44430")
|
||||
def test_settings_with_trailing_whitespace(self):
|
||||
|
||||
# boolean
|
||||
|
|
|
@ -22,6 +22,7 @@ class BreakpointCommandTestCase(TestBase):
|
|||
self.build()
|
||||
self.breakpoint_command_sequence()
|
||||
|
||||
@skipIf(oslist=["windows"], bugnumber="llvm.org/pr44431")
|
||||
def test_script_parameters(self):
|
||||
"""Test a sequence of breakpoint command add, list, and delete."""
|
||||
self.build()
|
||||
|
|
|
@ -6,12 +6,13 @@ endif
|
|||
|
||||
ifeq "$(OS)" "Darwin"
|
||||
LD_EXTRAS = -Xlinker -dead_strip
|
||||
else ifeq "$(OS)" "Windows_NT"
|
||||
CFLAGS_EXTRAS += /Gw /Gy
|
||||
LD_EXTRAS = -Xlinker /OPT:REF
|
||||
else
|
||||
CFLAGS_EXTRAS += -fdata-sections -ffunction-sections
|
||||
LD_EXTRAS = -Wl,--gc-sections
|
||||
ifeq "$(OS)" "Windows_NT"
|
||||
LD_EXTRAS = -Xlinker /OPT:REF
|
||||
else
|
||||
LD_EXTRAS = -Wl,--gc-sections
|
||||
endif
|
||||
endif
|
||||
|
||||
MAKE_DSYM := NO
|
||||
|
|
|
@ -14,6 +14,7 @@ class DeadStripTestCase(TestBase):
|
|||
|
||||
mydir = TestBase.compute_mydir(__file__)
|
||||
|
||||
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr44429")
|
||||
def test(self):
|
||||
"""Test breakpoint works correctly with dead-code stripping."""
|
||||
self.build()
|
||||
|
|
|
@ -171,6 +171,7 @@ class SourceManagerTestCase(TestBase):
|
|||
self.expect("source list -n main", SOURCE_DISPLAYED_CORRECTLY,
|
||||
substrs=['Hello world'])
|
||||
|
||||
@skipIf(oslist=["windows"], bugnumber="llvm.org/pr44431")
|
||||
def test_modify_source_file_while_debugging(self):
|
||||
"""Modify a source file while debugging the executable."""
|
||||
self.build()
|
||||
|
@ -236,6 +237,7 @@ class SourceManagerTestCase(TestBase):
|
|||
SOURCE_DISPLAYED_CORRECTLY,
|
||||
substrs=['Hello lldb'])
|
||||
|
||||
@expectedFailureAll(oslist=["windows"], bugnumber="llvm.org/pr44432")
|
||||
def test_set_breakpoint_with_absolute_path(self):
|
||||
self.build()
|
||||
hidden = self.getBuildArtifact("hidden")
|
||||
|
|
Loading…
Reference in New Issue