forked from OSchip/llvm-project
Deactivate TestTargetSymbolsBuildidCase if host is windows
Makefile has unix magic and thus not working on windows. llvm-svn: 324558
This commit is contained in:
parent
bae5918d99
commit
4c17d95bea
|
@ -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")
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in New Issue