diff options
author | Adriaan Moors <adriaan.moors@epfl.ch> | 2012-07-17 10:02:55 +0200 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@epfl.ch> | 2012-07-17 17:26:27 +0200 |
commit | 1729b26500506530733753d44f9ce2a2597e0e33 (patch) | |
tree | fb21521e8f5d9e4dbf1cc9bcdadc4485492586e3 /test/files/run/t3897 | |
parent | 022eed3245db21f5faf06ae6472e585ead137f82 (diff) | |
download | scala-1729b26500506530733753d44f9ce2a2597e0e33.tar.gz scala-1729b26500506530733753d44f9ce2a2597e0e33.tar.bz2 scala-1729b26500506530733753d44f9ce2a2597e0e33.zip |
move test files that fail spuriously to pending
I have this sneaky suspicion that part of these spurious failures
are caused by the recent partest optimizations.
@axel22 already checked that compiler instances are not shared between test runs.
However, except for the benchmark test, they all have a distinct
race condition in symbol loading/type checking feel to them.
Since, in the end, the tests and/or their corresponding fixes are as likely
a culprit as the test framework, moving them out of the way until their owners
can get them back in line and they stop throwing primate wenches into our build.
We should bring them back as soon as possible, though.
Diffstat (limited to 'test/files/run/t3897')
-rw-r--r-- | test/files/run/t3897/J_2.java | 27 | ||||
-rw-r--r-- | test/files/run/t3897/a_1.scala | 8 | ||||
-rw-r--r-- | test/files/run/t3897/a_2.scala | 23 |
3 files changed, 0 insertions, 58 deletions
diff --git a/test/files/run/t3897/J_2.java b/test/files/run/t3897/J_2.java deleted file mode 100644 index 178412dc92..0000000000 --- a/test/files/run/t3897/J_2.java +++ /dev/null @@ -1,27 +0,0 @@ -import java.lang.reflect.*; - -public class J_2 { - public void f1(Class<?> clazz) { - Field[] fields = clazz.getDeclaredFields(); - for (int i = 0 ; i < fields.length; i++) { - String name = fields[i].getName(); - if (name.length() >= 7 && name.substring(0, 7).equals("bitmap$")) { } - else System.out.println("(" + name + "," + fields[i].getGenericType() + ")"); - } - } - public void f2(Class<?> clazz) { - Method[] methods = clazz.getDeclaredMethods(); - for (int i = 0 ; i < methods.length; i++) { - String name = methods[i].getName(); - if (name.length() >= 7 && name.substring(0, 7).equals("bitmap$")) { } - else System.out.println("(" + name + "," + methods[i].getGenericReturnType() + ")"); - } - } - - public void javaRun() { - f1(One.class); - f2(One.class); - f1(Two.class); - f2(Two.class); - } -}
\ No newline at end of file diff --git a/test/files/run/t3897/a_1.scala b/test/files/run/t3897/a_1.scala deleted file mode 100644 index 4da959e2ac..0000000000 --- a/test/files/run/t3897/a_1.scala +++ /dev/null @@ -1,8 +0,0 @@ -class One { - private val messages = new collection.mutable.MutableList[String] - List("a") foreach { messages += _ } -} - -class Two { - private val messages = new collection.mutable.MutableList[String] -} diff --git a/test/files/run/t3897/a_2.scala b/test/files/run/t3897/a_2.scala deleted file mode 100644 index 4d9e59ef05..0000000000 --- a/test/files/run/t3897/a_2.scala +++ /dev/null @@ -1,23 +0,0 @@ -object Test { - def f1(clazz: Class[_]) = ( - clazz.getDeclaredFields.toList - . filterNot (_.getName contains "bitmap$") - . map (f => (f.getName, f.getGenericType)) - . foreach (println) - ) - def f2(clazz: Class[_]) = ( - clazz.getDeclaredMethods.toList - . filterNot (_.getName contains "bitmap$") - . map (f => (f.getName, f.getGenericReturnType)) - . foreach (println) - ) - - def main(args: Array[String]): Unit = { - f1(classOf[One]) - f2(classOf[One]) - f1(classOf[Two]) - f2(classOf[Two]) - - new J_2().javaRun - } -} |