Fix runInTerminal errors on ARM

Caused by https://reviews.llvm.org/D93951

This feature is not needed on ARM, so let's just disable the tests on
ARM.
This commit is contained in:
Walter Erquinigo 2021-01-25 14:45:39 -08:00
parent b43c26d036
commit 50337fb933
1 changed files with 6 additions and 0 deletions

View File

@ -75,6 +75,7 @@ class TestVSCode_runInTerminal(lldbvscode_testcase.VSCodeTestCaseBase):
@skipIfWindows @skipIfWindows
@skipIfRemote @skipIfRemote
@skipIf(archs=no_match(['x86_64']))
def test_runInTerminalInvalidTarget(self): def test_runInTerminalInvalidTarget(self):
self.build_and_create_debug_adaptor() self.build_and_create_debug_adaptor()
response = self.launch( response = self.launch(
@ -85,6 +86,7 @@ class TestVSCode_runInTerminal(lldbvscode_testcase.VSCodeTestCaseBase):
@skipIfWindows @skipIfWindows
@skipIfRemote @skipIfRemote
@skipIf(archs=no_match(['x86_64']))
def test_missingArgInRunInTerminalLauncher(self): def test_missingArgInRunInTerminalLauncher(self):
proc = subprocess.run([self.lldbVSCodeExec, "--launch-target", "INVALIDPROGRAM"], proc = subprocess.run([self.lldbVSCodeExec, "--launch-target", "INVALIDPROGRAM"],
capture_output=True, universal_newlines=True) capture_output=True, universal_newlines=True)
@ -93,6 +95,7 @@ class TestVSCode_runInTerminal(lldbvscode_testcase.VSCodeTestCaseBase):
@skipIfWindows @skipIfWindows
@skipIfRemote @skipIfRemote
@skipIf(archs=no_match(['x86_64']))
def test_FakeAttachedRunInTerminalLauncherWithInvalidProgram(self): def test_FakeAttachedRunInTerminalLauncherWithInvalidProgram(self):
comm_file = os.path.join(self.getBuildDir(), "comm-file") comm_file = os.path.join(self.getBuildDir(), "comm-file")
os.mkfifo(comm_file) os.mkfifo(comm_file)
@ -110,6 +113,7 @@ class TestVSCode_runInTerminal(lldbvscode_testcase.VSCodeTestCaseBase):
@skipIfWindows @skipIfWindows
@skipIfRemote @skipIfRemote
@skipIf(archs=no_match(['x86_64']))
def test_FakeAttachedRunInTerminalLauncherWithValidProgram(self): def test_FakeAttachedRunInTerminalLauncherWithValidProgram(self):
comm_file = os.path.join(self.getBuildDir(), "comm-file") comm_file = os.path.join(self.getBuildDir(), "comm-file")
os.mkfifo(comm_file) os.mkfifo(comm_file)
@ -126,6 +130,7 @@ class TestVSCode_runInTerminal(lldbvscode_testcase.VSCodeTestCaseBase):
@skipIfWindows @skipIfWindows
@skipIfRemote @skipIfRemote
@skipIf(archs=no_match(['x86_64']))
def test_FakeAttachedRunInTerminalLauncherAndCheckEnvironment(self): def test_FakeAttachedRunInTerminalLauncherAndCheckEnvironment(self):
comm_file = os.path.join(self.getBuildDir(), "comm-file") comm_file = os.path.join(self.getBuildDir(), "comm-file")
os.mkfifo(comm_file) os.mkfifo(comm_file)
@ -143,6 +148,7 @@ class TestVSCode_runInTerminal(lldbvscode_testcase.VSCodeTestCaseBase):
@skipIfWindows @skipIfWindows
@skipIfRemote @skipIfRemote
@skipIf(archs=no_match(['x86_64']))
def test_NonAttachedRunInTerminalLauncher(self): def test_NonAttachedRunInTerminalLauncher(self):
comm_file = os.path.join(self.getBuildDir(), "comm-file") comm_file = os.path.join(self.getBuildDir(), "comm-file")
os.mkfifo(comm_file) os.mkfifo(comm_file)