Skip to content

Commit 162a38f

Browse files
committed
Return soot initialization for contest after its removal in #540
1 parent b4fcd92 commit 162a38f

File tree

1 file changed

+4
-0
lines changed
  • utbot-junit-contest/src/main/kotlin/org/utbot/contest

1 file changed

+4
-0
lines changed

utbot-junit-contest/src/main/kotlin/org/utbot/contest/Contest.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,10 @@ fun main(args: Array<String>) {
122122

123123

124124
withUtContext(context) {
125+
// Initialize the soot before a contest is started.
126+
// This saves the time budget for real work instead of soot initialization.
127+
TestCaseGenerator(listOf(classfileDir), classpathString, dependencyPath, JdkInfoService.provide())
128+
125129
logger.info().bracket("warmup: kotlin reflection :: init") {
126130
prepareClass(ConcreteExecutorPool::class.java, "")
127131
prepareClass(Warmup::class.java, "")

0 commit comments

Comments
 (0)