diff options
author | Yuan Liao <liaoyuan@gmail.com> | 2022-01-20 13:50:51 -0800 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2022-01-25 10:30:03 +0100 |
commit | 909450e1de5a80651db10160a29d8d4c2266756c (patch) | |
tree | 2545615ba63c5ac9d7f29a50f196346bebe87b7d /dev-java/antlr-tool/files | |
parent | dev-java/antlr-runtime: new package (diff) | |
download | gentoo-909450e1de5a80651db10160a29d8d4c2266756c.tar.gz gentoo-909450e1de5a80651db10160a29d8d4c2266756c.tar.bz2 gentoo-909450e1de5a80651db10160a29d8d4c2266756c.zip |
dev-java/antlr-tool: Initial import
Suggested-by: Miroslav Šulc <fordfrog@gentoo.org>
Bug: https://bugs.gentoo.org/742554
Signed-off-by: Yuan Liao <liaoyuan@gmail.com>
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/antlr-tool/files')
-rw-r--r-- | dev-java/antlr-tool/files/3.5.2-test-fixes.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/dev-java/antlr-tool/files/3.5.2-test-fixes.patch b/dev-java/antlr-tool/files/3.5.2-test-fixes.patch new file mode 100644 index 000000000000..f2609ac1f0b5 --- /dev/null +++ b/dev-java/antlr-tool/files/3.5.2-test-fixes.patch @@ -0,0 +1,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" + |