diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2013-10-23 01:30:23 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2013-10-23 01:30:23 +0200 |
commit | 04e2dbb29830d0e511cdfa8c132a9fad91d657ed (patch) | |
tree | 91db88841f128a8f3896ea51822705f79063b4c9 /test/files/run | |
parent | 3160bd0ed9727dece26290c1bcffe61e2b51b7a0 (diff) | |
download | scala-04e2dbb29830d0e511cdfa8c132a9fad91d657ed.tar.gz scala-04e2dbb29830d0e511cdfa8c132a9fad91d657ed.tar.bz2 scala-04e2dbb29830d0e511cdfa8c132a9fad91d657ed.zip |
temporarily disables run/reflection-sync-subtypes
This test has been a source of spurious failures as in, for example
https://github.com/scala/scala/pull/3029#issuecomment-26811129,
so I'm disabling it for the time being while I investigate the issue.
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/reflection-sync-subtypes.check | 0 | ||||
-rw-r--r-- | test/files/run/reflection-sync-subtypes.scala | 20 |
2 files changed, 0 insertions, 20 deletions
diff --git a/test/files/run/reflection-sync-subtypes.check b/test/files/run/reflection-sync-subtypes.check deleted file mode 100644 index e69de29bb2..0000000000 --- a/test/files/run/reflection-sync-subtypes.check +++ /dev/null diff --git a/test/files/run/reflection-sync-subtypes.scala b/test/files/run/reflection-sync-subtypes.scala deleted file mode 100644 index 7f75a464ac..0000000000 --- a/test/files/run/reflection-sync-subtypes.scala +++ /dev/null @@ -1,20 +0,0 @@ -import scala.reflect.runtime.universe._ - -object Test extends App { - val n = 1000 - val rng = new scala.util.Random() - val tasks = List( - () => typeOf[List[Int]] <:< typeOf[List[T] forSome { type T }], - () => typeOf[List[T] forSome { type T }] <:< typeOf[List[Any]], - () => typeOf[Map[Int, Object]] <:< typeOf[Iterable[(Int, String)]], - () => typeOf[Expr[Any] { val mirror: rootMirror.type }] <:< typeOf[Expr[List[List[List[Int]]]]{ val mirror: rootMirror.type }]) - val perms = tasks.permutations.toList - val diceRolls = List.fill(n)(rng.nextInt(perms.length)) - val threads = (1 to n) map (i => new Thread(s"Reflector-$i") { - override def run(): Unit = { - val result = perms(diceRolls(i - 1)).map(_()) - assert(result.sorted == List(false, false, true, true)) - } - }) - threads foreach (_.start) -}
\ No newline at end of file |