diff options
author | Guillaume Martres <smarter@ubuntu.com> | 2017-02-18 23:13:59 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-18 23:13:59 +0100 |
commit | f3f1c4623b3815f1385317190bf72baabd98fdff (patch) | |
tree | 526aece2cd29373a6a693e6cdd56bdc700f91d02 /tests/run | |
parent | 1946b36ca4abb7ba8264c18af95bc9c9c94f67ee (diff) | |
parent | 5aac086d63807331e380bb2d861e4e07800b1f63 (diff) | |
download | dotty-f3f1c4623b3815f1385317190bf72baabd98fdff.tar.gz dotty-f3f1c4623b3815f1385317190bf72baabd98fdff.tar.bz2 dotty-f3f1c4623b3815f1385317190bf72baabd98fdff.zip |
Merge pull request #1989 from dotty-staging/remove/scalac-tests
Disable tests that require scala-compiler
Diffstat (limited to 'tests/run')
-rw-r--r-- | tests/run/t1618.scala | 11 | ||||
-rw-r--r-- | tests/run/t7775.scala | 17 |
2 files changed, 0 insertions, 28 deletions
diff --git a/tests/run/t1618.scala b/tests/run/t1618.scala deleted file mode 100644 index 248af9b4f..000000000 --- a/tests/run/t1618.scala +++ /dev/null @@ -1,11 +0,0 @@ - -object Test extends dotty.runtime.LegacyApp { - import scala.tools.nsc.io._ - - val dir: VirtualDirectory = new VirtualDirectory("foo", None) - dir.subdirectoryNamed("foo") - assert(dir.lookupName("foo", true) != null) - -} - - diff --git a/tests/run/t7775.scala b/tests/run/t7775.scala deleted file mode 100644 index bc6a67d0e..000000000 --- a/tests/run/t7775.scala +++ /dev/null @@ -1,17 +0,0 @@ -import scala.concurrent.{duration, Future, Await, ExecutionContext} -import scala.tools.nsc.Settings -import ExecutionContext.Implicits.global - -// Was failing pretty regularly with a ConcurrentModificationException as -// WrappedProperties#systemProperties iterated directly over the mutable -// global system properties map. -object Test { - def main(args: Array[String]): Unit = { - val tries = 1000 // YMMV - val compiler = Future { - for(_ <- 1 to tries) new Settings(_ => {}) - } - for(i <- 1 to tries * 10) System.setProperty(s"foo$i", i.toString) - Await.result(compiler, duration.Duration.Inf) - } -} |