Validate preview sessions against real classpath and module-path fixtures
This commit is contained in:
@@ -37,6 +37,7 @@ version = subprocess.run([str(target_java), "-version"], capture_output=True, te
|
||||
if not re.search(r'version "21[.\"]', version.stderr):
|
||||
sys.exit("Target linkage gate requires Java 21")
|
||||
run([target_java, "-cp", classpath, "de.neitzel.fxdesigner.target.TargetToolInfo"])
|
||||
run([sys.executable, ROOT / "scripts/check-preview-fixtures.py", "--target-java-home", args.target_java_home])
|
||||
run([wrapper, "-B", "-ntp", "-pl", "designer-standalone", "org.apache.maven.plugins:maven-dependency-plugin:3.6.1:build-classpath", "-DincludeScope=test", "-Dmdep.outputFile=target/smoke-classpath.txt"])
|
||||
smoke_classpath = os.pathsep.join([str(ROOT / "designer-standalone/target/test-classes"), str(ROOT / "designer-standalone/target/classes"), (ROOT / "designer-standalone/target/smoke-classpath.txt").read_text().strip()])
|
||||
run([Path(os.environ["JAVA_HOME"]) / "bin/java", "-cp", smoke_classpath, "de.neitzel.fxdesigner.build.BuildRefreshSmoke", ROOT, args.target_java_home])
|
||||
|
||||
Reference in New Issue
Block a user