Skip to content
This repository was archived by the owner on May 3, 2018. It is now read-only.
This repository was archived by the owner on May 3, 2018. It is now read-only.

Hardcoded assumption about srcpath #14

Closed
@retronym

Description

@retronym

While the Scala build has its main parttest suite in ./test/files, it has an additional suite under ./test/scaladoc/{run,scalacheck}. The command line partest script allows us to specify ./test/partest --srcpath test/scaladoc --run. My testing indicates that providing the option through partest-interface doesn't pick up these tests.

I suspect that the hardcoded "files" below is to blame.

  def execute(eventHandler: EventHandler, loggers: Array[Logger]): Array[Task] = {
    val forkedCp    = scala.util.Properties.javaClassPath
    val classLoader = new URLClassLoader(forkedCp.split(java.io.File.pathSeparator).map(new File(_).toURI.toURL))
    val runner      = SBTRunner(Framework.fingerprint, eventHandler, loggers, "files", classLoader, null, null, Array.empty[String], args)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions