mirror of
https://github.com/github/codeql.git
synced 2026-02-26 03:43:41 +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
245 B
Python
7 lines
245 B
Python
def test(codeql, java):
|
|
# Test that a build with 5 ~1MB XML docs extracts them:
|
|
for i in range(5):
|
|
with open(f"generated-{i}.xml", "w") as f:
|
|
f.write("<xml>" + ("a" * 1000000) + "</xml>")
|
|
codeql.database.create()
|