mirror of
https://github.com/github/codeql.git
synced 2025-12-17 09:13:20 +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.
12 lines
391 B
Python
12 lines
391 B
Python
import os
|
|
|
|
|
|
def test(codeql, java_full):
|
|
codeql.database.create(
|
|
command=[
|
|
"javac AnnotatedInterface.java AnnotatedMethods.java zpkg/A.java org/jetbrains/annotations/NotNull.java org/jetbrains/annotations/Nullable.java -d out",
|
|
"kotlinc ktUser.kt -cp out -d out2",
|
|
"javac JavaUser.java -cp out" + os.pathsep + "out2 -d out3",
|
|
],
|
|
)
|