Kotlin: Run some integration tests on Windows too

This commit is contained in:
Ian Lynagh
2022-10-27 14:50:17 +01:00
parent 8bc46d5e56
commit 15d5369bdd
131 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
from create_database_utils import *
import glob
# Compile Java untraced. Note the Java source is hidden under `javasrc` so the Kotlin compiler
# will certainly reference the jar, not the source or class file for extlib.Lib
os.mkdir('build')
runSuccessfully(["javac"] + glob.glob("libsrc/extlib/*.java") + ["-d", "build"])
runSuccessfully(["jar", "cf", "extlib.jar", "-C", "build", "extlib"])
run_codeql_database_create(["kotlinc test.kt -cp extlib.jar"], lang="java")