diff options
author | Iulian Dragos <jaguarul@gmail.com> | 2011-01-24 23:35:59 +0000 |
---|---|---|
committer | Iulian Dragos <jaguarul@gmail.com> | 2011-01-24 23:35:59 +0000 |
commit | 82a6aaab866edfce187eb0a96e034c2c50bbf780 (patch) | |
tree | 6408d60b4269fcd05ff8571312e3b8781762c961 /src/compiler | |
parent | f253b67d4a50a066fb91ce03fa1eb12db9a9c1e0 (diff) | |
download | scala-82a6aaab866edfce187eb0a96e034c2c50bbf780.tar.gz scala-82a6aaab866edfce187eb0a96e034c2c50bbf780.tar.bz2 scala-82a6aaab866edfce187eb0a96e034c2c50bbf780.zip |
Increased the timeout for presentation compiler...
Increased the timeout for presentation compiler tests and stripped
aboslute paths from the check file. no review.
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/scala/tools/nsc/interactive/tests/InteractiveTest.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/compiler/scala/tools/nsc/interactive/tests/InteractiveTest.scala b/src/compiler/scala/tools/nsc/interactive/tests/InteractiveTest.scala index 325151b528..6eae342e76 100644 --- a/src/compiler/scala/tools/nsc/interactive/tests/InteractiveTest.scala +++ b/src/compiler/scala/tools/nsc/interactive/tests/InteractiveTest.scala @@ -38,7 +38,7 @@ abstract class InteractiveTest { val completionMarker = "/*!*/" val typedAtMarker = "/*?*/" - val TIMEOUT = 5000 // 5 seconds + val TIMEOUT = 10000 // timeout in milliseconds val settings = new Settings val reporter= new StoreReporter @@ -107,7 +107,7 @@ abstract class InteractiveTest { f(pos, members) case None => println("TIMEOUT: " + r) - case _ => + case Some(r) => println("ERROR: " + r) } } @@ -117,7 +117,7 @@ abstract class InteractiveTest { */ def completionTests() { askAllSources(completionMarker) { pos => - println("askTypeCompletion at " + pos) + println("askTypeCompletion at " + pos.source.file.name + ((pos.line, pos.column))) val r = new Response[List[compiler.Member]] compiler.askTypeCompletion(pos, r) r @@ -164,7 +164,7 @@ abstract class InteractiveTest { tester.run() } - val runRandomTests = true + val runRandomTests = false def main(args: Array[String]) { reloadSources() |