summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite
diff options
context:
space:
mode:
authorEugene Zemtsov <ezemtsov@google.com>2018-02-08 03:05:47 +0000
committerEugene Zemtsov <ezemtsov@google.com>2018-02-08 03:05:47 +0000
commit4c17d95bea903c4d9fd37f43f369fca6327d8264 (patch)
treef503753bf6455c5b7090da319ba83f245a6ef4cd /lldb/packages/Python/lldbsuite
parentbae5918d990fe8f030608dc814c210292375a3cd (diff)
downloadbcm5719-llvm-4c17d95bea903c4d9fd37f43f369fca6327d8264.tar.gz
bcm5719-llvm-4c17d95bea903c4d9fd37f43f369fca6327d8264.zip
Deactivate TestTargetSymbolsBuildidCase if host is windows
Makefile has unix magic and thus not working on windows. llvm-svn: 324558
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
-rw-r--r--lldb/packages/Python/lldbsuite/test/linux/buildidcase/TestTargetSymbolsBuildidCase.py1
-rw-r--r--lldb/packages/Python/lldbsuite/test/lldbplatformutil.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/linux/buildidcase/TestTargetSymbolsBuildidCase.py b/lldb/packages/Python/lldbsuite/test/linux/buildidcase/TestTargetSymbolsBuildidCase.py
index f4c965eba31..1670309b61f 100644
--- a/lldb/packages/Python/lldbsuite/test/linux/buildidcase/TestTargetSymbolsBuildidCase.py
+++ b/lldb/packages/Python/lldbsuite/test/linux/buildidcase/TestTargetSymbolsBuildidCase.py
@@ -14,6 +14,7 @@ class TestTargetSymbolsBuildidCase(TestBase):
@no_debug_info_test # Prevent the genaration of the dwarf version of this test
@skipUnlessPlatform(['linux'])
+ @skipIf(hostoslist=['windows'])
def test_target_symbols_buildid_case(self):
self.build(clean=True)
exe = self.getBuildArtifact("stripped.out")
diff --git a/lldb/packages/Python/lldbsuite/test/lldbplatformutil.py b/lldb/packages/Python/lldbsuite/test/lldbplatformutil.py
index f7da58bd525..87381233d80 100644
--- a/lldb/packages/Python/lldbsuite/test/lldbplatformutil.py
+++ b/lldb/packages/Python/lldbsuite/test/lldbplatformutil.py
@@ -109,7 +109,7 @@ def getHostPlatform():
# Attempts to return a platform name matching a target Triple platform.
if sys.platform.startswith('linux'):
return 'linux'
- elif sys.platform.startswith('win32'):
+ elif sys.platform.startswith('win32') or sys.platform.startswith('cygwin'):
return 'windows'
elif sys.platform.startswith('darwin'):
return 'darwin'
OpenPOWER on IntegriCloud