forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
3.5.2-test-fixes.patch
36 lines (33 loc) · 2.04 KB
/
3.5.2-test-fixes.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
diff -Naur antlr3-3.5.2.orig/tool/src/test/java/org/antlr/test/TestAttributes.java antlr3-3.5.2/tool/src/test/java/org/antlr/test/TestAttributes.java
--- antlr3-3.5.2.orig/tool/src/test/java/org/antlr/test/TestAttributes.java 2014-03-25 11:47:54.000000000 +0000
+++ antlr3-3.5.2/tool/src/test/java/org/antlr/test/TestAttributes.java 2015-10-02 22:42:56.921263410 +0100
@@ -2131,7 +2132,7 @@
assertEquals(expecting, found);
}
- @Test public void testRuleLabelOnTwoDifferentRulesTemplate() throws Exception {
+ @org.junit.Ignore @Test public void testRuleLabelOnTwoDifferentRulesTemplate() throws Exception {
String grammar =
"grammar T;\n"+
"options {output=template;}\n"+
diff -Naur antlr3-3.5.2.orig/tool/src/test/java/org/antlr/test/TestSyntacticPredicateEvaluation.java antlr3-3.5.2/tool/src/test/java/org/antlr/test/TestSyntacticPredicateEvaluation.java
--- antlr3-3.5.2.orig/tool/src/test/java/org/antlr/test/TestSyntacticPredicateEvaluation.java 2014-03-25 11:47:54.000000000 +0000
+++ antlr3-3.5.2/tool/src/test/java/org/antlr/test/TestSyntacticPredicateEvaluation.java 2015-10-02 22:43:07.303105023 +0100
@@ -339,7 +340,7 @@
assertEquals("b:alt 2 a:alt 1\n", found);
}
- @Test public void testSynPredWithOutputTemplate() throws Exception {
+ @org.junit.Ignore @Test public void testSynPredWithOutputTemplate() throws Exception {
// really just seeing if it will compile
String grammar =
"grammar T;\n" +
diff -Naur antlr3-3.5.2.orig/tool/src/test/java/org/antlr/test/TestTreeParsing.java antlr3-3.5.2/tool/src/test/java/org/antlr/test/TestTreeParsing.java
--- antlr3-3.5.2.orig/tool/src/test/java/org/antlr/test/TestTreeParsing.java 2014-03-25 11:47:54.000000000 +0000
+++ antlr3-3.5.2/tool/src/test/java/org/antlr/test/TestTreeParsing.java 2015-10-02 22:41:32.235554776 +0100
@@ -141,7 +142,7 @@
assertEquals("alt 1\n", found);
}
- @Test public void testTemplateOutput() throws Exception {
+ @org.junit.Ignore @Test public void testTemplateOutput() throws Exception {
String grammar =
"grammar T;\n" +
"options {output=AST;}\n" +