Swift: add --no-cleanup to integration tests

This commit is contained in:
Paolo Tranquilli
2022-07-28 11:19:45 +02:00
parent 8cd0a9d245
commit ab1370cc8f

View File

@@ -12,7 +12,7 @@ def run_codeql_database_create(cmds, lang, keep_trap=True):
codeql_root = pathlib.Path(__file__).parents[2]
cmd = [
"codeql", "database", "create",
"-s", ".", "-l", "swift", "--internal-use-lua-tracing", f"--search-path={codeql_root}",
"-s", ".", "-l", "swift", "--internal-use-lua-tracing", f"--search-path={codeql_root}", "--no-cleanup",
]
if keep_trap:
cmd.append("--keep-trap")