[lldb][test] Adjust TestTargetReadInstructionsFlavor skipIfs

Original in https://github.com/llvm/llvm-project/pull/134626 was
written as if it was "this or this" but it's "this and this".

So the test ran on AArch64 Linux, because Linux is not Windows.

Split out the Windows check to fix that.
This commit is contained in:
David Spickett
2025-04-11 13:14:16 +00:00
parent e100d2bf9a
commit 5b384c3015

View File

@@ -7,7 +7,8 @@ from lldbsuite.test.lldbtest import *
class TargetReadInstructionsFlavor(TestBase):
@skipIf(archs=no_match(["x86_64", "x86", "i386"]), oslist=["windows"])
@skipIfWindows
@skipIf(archs=no_match(["x86_64", "x86", "i386"]))
def test_read_instructions_with_flavor(self):
self.build()
executable = self.getBuildArtifact("a.out")