tests: Mark expected FreeBSD failures due to pr16699

FreeBSD's Host class doesn't yet return a list of running processes,
so 'platform process list' fails and attach by process name does not
work.

llvm-svn: 187142
This commit is contained in:
Ed Maste 2013-07-25 18:36:09 +00:00
parent f4b1ee3492
commit 6c00f6d54a
3 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,7 @@ class PlatformCommandTestCase(TestBase):
self.expect("platform list",
patterns = ['^Available platforms:'])
@expectedFailureFreeBSD('llvm.org/pr16699') # FreeBSD Host.cpp does not support process list
def test_process_list(self):
self.expect("platform process list",
substrs = ['PID', 'ARCH', 'NAME'])

View File

@ -32,6 +32,7 @@ class ProcessAttachTestCase(TestBase):
self.buildDsym()
self.process_attach_by_name()
@expectedFailureFreeBSD('llvm.org/pr16699')
@dwarf_test
def test_attach_to_process_by_name_with_dwarf(self):
"""Test attach by process name"""

View File

@ -67,6 +67,7 @@ class HelloWorldTestCase(TestBase):
self.setTearDownCleanup(dictionary=self.d)
self.hello_world_attach_with_name_api()
@expectedFailureFreeBSD('llvm.org/pr16699') # attach by name not on FreeBSD yet
@python_api_test
@dwarf_test
def test_with_dwarf_and_attach_to_process_with_name_api(self):