mirror of
https://github.com/github/codeql.git
synced 2026-04-30 19:26:02 +02:00
Swift: support linux-only tests
This commit is contained in:
@@ -34,7 +34,10 @@ def execute_test(path):
|
||||
return subprocess.run([sys.executable, "-u", path.name], cwd=path.parent).returncode == 0
|
||||
|
||||
def skipped(test):
|
||||
return platform.system() != "Darwin" and "osx-only" in test.parts
|
||||
if platform.system() == "Darwin":
|
||||
return "linux-only" in test.parts
|
||||
else:
|
||||
return "osx-only" in test.parts
|
||||
|
||||
|
||||
def main(opts):
|
||||
|
||||
Reference in New Issue
Block a user