forked from pool/jflex
- Fix build with junit 4
* jflex-junit4.patch - Fix build with junit 4 * jflex-junit4.patch OBS-URL: https://build.opensuse.org/package/show/Java:packages/jflex?expand=0&rev=14
This commit is contained in:
@@ -1,5 +1,11 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 9 11:32:01 UTC 2013 - tchvatal@suse.com
|
||||
Thu Nov 14 12:31:24 UTC 2013 - mvyskocil@suse.com
|
||||
|
||||
- Fix build with junit 4
|
||||
* jflex-junit4.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 9 11:06:00 UTC 2013 - tchvatal@suse.com
|
||||
|
||||
- Move from jpackage-utils to javapackage-tools
|
||||
|
||||
|
13
jflex-junit4.patch
Normal file
13
jflex-junit4.patch
Normal file
@@ -0,0 +1,13 @@
|
||||
Index: jflex-1.4.3/src/JFlex/tests/AllTests.java
|
||||
===================================================================
|
||||
--- jflex-1.4.3.orig/src/JFlex/tests/AllTests.java
|
||||
+++ jflex-1.4.3/src/JFlex/tests/AllTests.java
|
||||
@@ -32,7 +32,7 @@ import junit.framework.TestSuite;
|
||||
public class AllTests {
|
||||
|
||||
public static void main(String[] args) {
|
||||
- junit.textui.TestRunner.run(AllTests.class);
|
||||
+ //junit.textui.TestRunner.run(AllTests.class);
|
||||
}
|
||||
|
||||
public static Test suite() {
|
@@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Nov 14 12:31:24 UTC 2013 - mvyskocil@suse.com
|
||||
|
||||
- Fix build with junit 4
|
||||
* jflex-junit4.patch
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 9 11:06:00 UTC 2013 - tchvatal@suse.com
|
||||
|
||||
|
@@ -42,6 +42,8 @@ Patch1: jflex-no-cup-no-jflex.patch
|
||||
Patch2: jflex-classpath.patch
|
||||
Patch3: jflex-lex-scan.patch
|
||||
Patch4: jflex-byaccj-utl.patch
|
||||
#PATCH-FIX-OPENSUSE: make AllTests.main empty, code was not compatible with junit 4
|
||||
Patch5: jflex-junit4.patch
|
||||
Requires: java_cup
|
||||
Requires: javapackages-tools
|
||||
BuildRequires: ant
|
||||
@@ -119,6 +121,7 @@ rm -rf src/JFlex/tests
|
||||
#%patch3 -p1
|
||||
%patch4 -p1
|
||||
%endif
|
||||
%patch5 -p1
|
||||
|
||||
%build
|
||||
pushd src
|
||||
|
Reference in New Issue
Block a user