diff options
author | Hubert Plociniczak <hubert.plociniczak@epfl.ch> | 2010-05-07 10:38:47 +0000 |
---|---|---|
committer | Hubert Plociniczak <hubert.plociniczak@epfl.ch> | 2010-05-07 10:38:47 +0000 |
commit | 536fa4d9c8f4ad70451909c39cdab13dd0ee4078 (patch) | |
tree | 5f8056224efa3c3e4a82f2df99a285fb0f340cb2 | |
parent | b8e07955484a7d65fd12be3acf11e25c139285e2 (diff) | |
download | scala-536fa4d9c8f4ad70451909c39cdab13dd0ee4078.tar.gz scala-536fa4d9c8f4ad70451909c39cdab13dd0ee4078.tar.bz2 scala-536fa4d9c8f4ad70451909c39cdab13dd0ee4078.zip |
Fixed partest for windows nightly. No review.
-rw-r--r-- | src/partest/scala/tools/partest/nest/Worker.scala | 4 |
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)) } |