summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/partest/scala/tools/partest/nest/ConsoleFileManager.scala6
-rw-r--r--src/partest/scala/tools/partest/nest/Worker.scala2
2 files changed, 7 insertions, 1 deletions
diff --git a/src/partest/scala/tools/partest/nest/ConsoleFileManager.scala b/src/partest/scala/tools/partest/nest/ConsoleFileManager.scala
index c25a91379a..e68f3383b2 100644
--- a/src/partest/scala/tools/partest/nest/ConsoleFileManager.scala
+++ b/src/partest/scala/tools/partest/nest/ConsoleFileManager.scala
@@ -19,6 +19,8 @@ class ConsoleFileManager extends FileManager {
var JAVACMD = System.getProperty("scalatest.javacmd", "java")
val PREFIX = (new File(SCALAHOME)).getAbsolutePath
+ val debug: Boolean = System.getProperty("partest.debug", "false") equals "true"
+
/*
if [ -d "$PREFIX/test" ]; then
TESTROOT="$PREFIX/test";
@@ -47,6 +49,10 @@ else
def accept(dir: File, name: String) = name endsWith ".jar"
}) map {file => file.getCanonicalFile.getAbsolutePath}).mkString(""+File.pathSeparator)
}
+ if (debug) {
+ println("CLASSPATH:")
+ println(CLASSPATH)
+ }
def findLatest() {
def prefixFile(relPath: String): File =
diff --git a/src/partest/scala/tools/partest/nest/Worker.scala b/src/partest/scala/tools/partest/nest/Worker.scala
index 336b0a0e09..6c31366a2a 100644
--- a/src/partest/scala/tools/partest/nest/Worker.scala
+++ b/src/partest/scala/tools/partest/nest/Worker.scala
@@ -253,7 +253,7 @@ class Worker(val fileManager: FileManager) extends Actor {
swr.flush()
NestUI.normal(swr.toString)
if (!success && fileManager.showDiff) NestUI.normal(diff)
- if (!success && fileManager.showLog) NestUI.normal(log)
+ if (!success && fileManager.showLog) /*NestUI.normal(log)*/ showLog(logFile)
}
} // for each file
NestUI.verbose("finished testing "+kind+" with "+errors+" errors")