mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +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.
10 lines
329 B
Python
10 lines
329 B
Python
import commands
|
|
|
|
|
|
def test(codeql, java_full, cwd):
|
|
commands.run(["kotlinc", "lib.kt", "-d", "out"])
|
|
commands.run(["javac", "JavaDefinedContainer.java", "JavaDefinedRepeatable.java", "-d", "out"])
|
|
codeql.database.create(
|
|
command=["kotlinc test.kt -cp out -d out", "javac JavaUser.java -cp out -d out2"]
|
|
)
|