From 5aac086d63807331e380bb2d861e4e07800b1f63 Mon Sep 17 00:00:00 2001 From: Guillaume Martres Date: Thu, 16 Feb 2017 23:35:18 +0100 Subject: Disable tests that require scala-compiler This is necessary if we ever want to get rid of our dependency on scala-compiler --- tests/run/t1618.scala | 11 ----------- tests/run/t7775.scala | 17 ----------------- 2 files changed, 28 deletions(-) delete mode 100644 tests/run/t1618.scala delete mode 100644 tests/run/t7775.scala (limited to 'tests/run') 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) - } -} -- cgit v1.2.3