diff options
author | Paul Phillips <paulp@improving.org> | 2010-04-06 00:42:50 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-04-06 00:42:50 +0000 |
commit | 3b8ee6d4a95eb417b9e4eb944afb8d36bc913e18 (patch) | |
tree | 645c05a441a60a8620eb67ac89b61d4abd9946b7 /src | |
parent | b6f8761f03174a7a62ae3869685a5bd5ce56f45e (diff) | |
download | scala-3b8ee6d4a95eb417b9e4eb944afb8d36bc913e18.tar.gz scala-3b8ee6d4a95eb417b9e4eb944afb8d36bc913e18.tar.bz2 scala-3b8ee6d4a95eb417b9e4eb944afb8d36bc913e18.zip |
Fix for the partest task to fail the build when...
Fix for the partest task to fail the build when a test fails, and fixes
for 2/3 of the quietly failing tests. I'm not quite sure what to do
about the view ones, it doesn't look like a simple rename is going to
cut it, so: review by odersky.
Diffstat (limited to 'src')
-rw-r--r-- | src/partest/scala/tools/partest/ant/JavaTask.scala | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/partest/scala/tools/partest/ant/JavaTask.scala b/src/partest/scala/tools/partest/ant/JavaTask.scala index 37e08fee1b..0bebf91368 100644 --- a/src/partest/scala/tools/partest/ant/JavaTask.scala +++ b/src/partest/scala/tools/partest/ant/JavaTask.scala @@ -36,17 +36,20 @@ class JavaTask extends Java { def setDefaults() { setFork(true) + setFailonerror(true) getProject.setSystemProperties() setClassname(scalaRunnerClass) - // setDir(Path(rootDir).jfile) - // addSyspropertyset(partestPropSet) addSysproperty(newKeyValue("partest.is-in-ant", "true")) jvmline(partestJVMArgs) runnerArgs foreach addArg + + // do we want basedir or rootDir to be the cwd? + // setDir(Path(rootDir).jfile) } - override def execute() { + override def init() = { + super.init() setDefaults() - super.execute() } } + |