Skip to content

Commit

Permalink
set up smoke test instances without timeout and only enforce timeout …
Browse files Browse the repository at this point in the history
…for launch
  • Loading branch information
Nolij committed Nov 5, 2024
1 parent 9dfc62b commit 4e00f37
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -639,6 +639,17 @@ val smokeTest = tasks.register("smokeTest") {
if (config.extraArgs != null)
extraArgs.addAll(config.extraArgs)

exec {
commandLine(
"${project.rootDir}/.gradle/python/bin/portablemc",
"--main-dir", mainDir,
"--work-dir", workDir,
"start", config.versionString,
*extraArgs.toArray(),
"--jvm-args=-DzumeGradle.auditAndExit=true",
"--dry",
)
}
exec {
commandLine(
"${project.rootDir}/.gradle/python/bin/portablemc",
Expand Down

0 comments on commit 4e00f37

Please sign in to comment.