summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-09-26 22:54:01 -0700
committerPaul Phillips <paulp@improving.org>2012-09-26 22:54:01 -0700
commit1d072fcb41aa1b0c0f09e9a4b16e56628a91465b (patch)
tree6ba08fc859b665558e577ddbfe43116bbb5cd109 /src
parent7fd83bbd6e5e39dccc545ac574629b53da1479f6 (diff)
parent6d633716ab45a29147574b119b195049cf8278d6 (diff)
downloadscala-1d072fcb41aa1b0c0f09e9a4b16e56628a91465b.tar.gz
scala-1d072fcb41aa1b0c0f09e9a4b16e56628a91465b.tar.bz2
scala-1d072fcb41aa1b0c0f09e9a4b16e56628a91465b.zip
Merge pull request #1408 from scalamacros/topic/direct-test
hardens DirectTest against missing -d settings
Diffstat (limited to 'src')
-rw-r--r--src/partest/scala/tools/partest/DirectTest.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/partest/scala/tools/partest/DirectTest.scala b/src/partest/scala/tools/partest/DirectTest.scala
index ff047daf9e..af2fc986fa 100644
--- a/src/partest/scala/tools/partest/DirectTest.scala
+++ b/src/partest/scala/tools/partest/DirectTest.scala
@@ -37,7 +37,7 @@ abstract class DirectTest extends App {
}
// new compiler
def newCompiler(args: String*): Global = {
- val settings = newSettings((CommandLineParser tokenize extraSettings) ++ args.toList)
+ val settings = newSettings((CommandLineParser tokenize ("-d \"" + testOutput.path + "\" " + extraSettings)) ++ args.toList)
if (settings.Yrangepos.value) new Global(settings) with interactive.RangePositions
else new Global(settings)
}