summaryrefslogtreecommitdiff
path: root/src/partest
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert.plociniczak@epfl.ch>2010-01-27 12:56:24 +0000
committerHubert Plociniczak <hubert.plociniczak@epfl.ch>2010-01-27 12:56:24 +0000
commitc01d2647666af410bc190b350617676344995c0b (patch)
tree31c3c50ebf499ecb444c45f901ff74eb94a52376 /src/partest
parente12005a1077d15a85cf544dc1f0a8cc229201cad (diff)
downloadscala-c01d2647666af410bc190b350617676344995c0b.tar.gz
scala-c01d2647666af410bc190b350617676344995c0b.tar.bz2
scala-c01d2647666af410bc190b350617676344995c0b.zip
Closes #2966. Review by milessabin.
Diffstat (limited to 'src/partest')
-rw-r--r--src/partest/scala/tools/partest/nest/Worker.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/partest/scala/tools/partest/nest/Worker.scala b/src/partest/scala/tools/partest/nest/Worker.scala
index c27ec7b4ad..d671eea561 100644
--- a/src/partest/scala/tools/partest/nest/Worker.scala
+++ b/src/partest/scala/tools/partest/nest/Worker.scala
@@ -529,7 +529,7 @@ class Worker(val fileManager: FileManager) extends Actor {
if (!outDir.exists) outDir.mkdir()
val testFile = new File(file, fileBase + ".test")
val changesDir = new File(file, fileBase + ".changes")
- if (changesDir.exists && !changesDir.isDirectory) {
+ if ((changesDir.exists && !changesDir.isDirectory) || !testFile.exists || !testFile.isFile) {
// if changes exists then it has to be a dir
succeeded = false
(null, null, null, null)
@@ -557,6 +557,7 @@ class Worker(val fileManager: FileManager) extends Actor {
settings.outdir.value = outDir.getCanonicalFile.getAbsolutePath
settings.sourcepath.value = sourcepath
settings.classpath.value = fileManager.CLASSPATH
+ settings.Ybuildmanagerdebug.value = true
// simulate Build Manager loop
val prompt = "builder > "