Skip to content

Commit

Permalink
Debug
Browse files Browse the repository at this point in the history
  • Loading branch information
lwronski committed Feb 14, 2022
1 parent a955140 commit 958c198
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,9 @@ abstract class CompileTestDefinitions(val scalaVersionOpt: Option[String])
os.proc(TestUtil.cli, "compile", "--test", "--class-path", extraOptions, ".").call(cwd =
root).out.text().trim
val classPath = output.split(":").map(_.trim).filter(_.nonEmpty)
println(classPath.toList)
println((root / Constants.workspaceDirName).toString())
println(Seq("classes", "test").mkString(File.separator))
val isDefinedTestPathInClassPath = // expected test class path - root / Constants.workspaceDirName / project_(hash) / classes / test
classPath.exists(p =>
p.startsWith((root / Constants.workspaceDirName).toString()) &&
Expand Down

0 comments on commit 958c198

Please sign in to comment.