summaryrefslogtreecommitdiff
path: root/src/partest
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert.plociniczak@epfl.ch>2010-05-07 10:38:47 +0000
committerHubert Plociniczak <hubert.plociniczak@epfl.ch>2010-05-07 10:38:47 +0000
commit536fa4d9c8f4ad70451909c39cdab13dd0ee4078 (patch)
tree5f8056224efa3c3e4a82f2df99a285fb0f340cb2 /src/partest
parentb8e07955484a7d65fd12be3acf11e25c139285e2 (diff)
downloadscala-536fa4d9c8f4ad70451909c39cdab13dd0ee4078.tar.gz
scala-536fa4d9c8f4ad70451909c39cdab13dd0ee4078.tar.bz2
scala-536fa4d9c8f4ad70451909c39cdab13dd0ee4078.zip
Fixed partest for windows nightly. No review.
Diffstat (limited to 'src/partest')
-rw-r--r--src/partest/scala/tools/partest/nest/Worker.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/partest/scala/tools/partest/nest/Worker.scala b/src/partest/scala/tools/partest/nest/Worker.scala
index 2f81dfd0f7..45fa5e2020 100644
--- a/src/partest/scala/tools/partest/nest/Worker.scala
+++ b/src/partest/scala/tools/partest/nest/Worker.scala
@@ -614,8 +614,8 @@ class Worker(val fileManager: FileManager) extends Actor {
loop()
testReader.close()
}
-
- fileManager.mapFile(logFile, "tmp", file, _.replace(sourcepath, ""))
+ val unixsrcpath = sourcepath.replaceAll(java.util.regex.Matcher.quoteReplacement("\\"), "/")
+ fileManager.mapFile(logFile, "tmp", file, _.replace(unixsrcpath, ""))
diffCheck(compareOutput(file, fileBase, kind, logFile))
}