summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dubochet <gilles.dubochet@epfl.ch>2010-07-02 16:31:33 +0000
committerGilles Dubochet <gilles.dubochet@epfl.ch>2010-07-02 16:31:33 +0000
commitf5f71f2d02f480c08fb24660dcc6b7836857c6b0 (patch)
tree58763ba7cc9786a352aab25cbb4d442317b64eef
parent8eee4372898062118479326639f6a4e950d0cb79 (diff)
downloadscala-f5f71f2d02f480c08fb24660dcc6b7836857c6b0.tar.gz
scala-f5f71f2d02f480c08fb24660dcc6b7836857c6b0.tar.bz2
scala-f5f71f2d02f480c08fb24660dcc6b7836857c6b0.zip
Partest task will go into verbose debug mode wh...
Partest task will go into verbose debug mode when ant's debug flag is set.
-rw-r--r--src/partest/scala/tools/partest/PartestTask.scala4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/partest/scala/tools/partest/PartestTask.scala b/src/partest/scala/tools/partest/PartestTask.scala
index 230a6f73ec..55b4a2a637 100644
--- a/src/partest/scala/tools/partest/PartestTask.scala
+++ b/src/partest/scala/tools/partest/PartestTask.scala
@@ -182,8 +182,10 @@ class PartestTask extends Task with CompilationPathProperty {
private def getScalapFiles = getFiles(scalapFiles)
override def execute() {
- if (isPartestDebug)
+ if (isPartestDebug || debug) {
setProp("partest.debug", "true")
+ nest.NestUI._verbose = true
+ }
srcDir foreach (x => setProp("partest.srcdir", x))