From 4c17d95bea903c4d9fd37f43f369fca6327d8264 Mon Sep 17 00:00:00 2001 From: Eugene Zemtsov Date: Thu, 8 Feb 2018 03:05:47 +0000 Subject: [PATCH] Deactivate TestTargetSymbolsBuildidCase if host is windows Makefile has unix magic and thus not working on windows. llvm-svn: 324558 --- .../lldbsuite/test/linux/buildidcase/TestTargetSymbolsBuildidCase.py | 1 + lldb/packages/Python/lldbsuite/test/lldbplatformutil.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/lldb/packages/Python/lldbsuite/test/linux/buildidcase/TestTargetSymbolsBuildidCase.py b/lldb/packages/Python/lldbsuite/test/linux/buildidcase/TestTargetSymbolsBuildidCase.py index f4c965e..1670309 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 f7da58b..8738123 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' -- 2.7.4