mirror of
https://github.com/github/codeql.git
synced 2026-02-15 22:43:43 +01:00
We are no longer bound to the platform-specific directories, so simplify the test organization. If you don't want this change, just skip merging this PR. It's purely optional. I kept the platform-specific directories around under `kotlin`, but you could also easily merge all these together if you find them unhelpful. I'll leave that change to you.
7 lines
306 B
Python
7 lines
306 B
Python
def test(codeql, java):
|
|
# Test that a build with 60 ~1MB XML docs extracts does not extract them, but we fall back to by-name mode instead:
|
|
for i in range(60):
|
|
with open(f"generated-{i}.xml", "w") as f:
|
|
f.write("<xml>" + ("a" * 1000000) + "</xml>")
|
|
codeql.database.create()
|