[pkg-java] r17183 - in trunk/checkstyle/debian: . patches

Emmanuel Bourg ebourg-guest at alioth.debian.org
Wed Aug 28 16:33:37 UTC 2013


Author: ebourg-guest
Date: 2013-08-28 16:33:37 +0000 (Wed, 28 Aug 2013)
New Revision: 17183

Added:
   trunk/checkstyle/debian/patches/02_ignore_tests_requiring_internet_connectivity.diff
Modified:
   trunk/checkstyle/debian/changelog
   trunk/checkstyle/debian/maven.rules
   trunk/checkstyle/debian/patches/series
Log:
Disabled tests that require internet access, which may not be available on the build machines. Thanks to Andreas Moog. (Closes: #714109, LP: #1217909)



Modified: trunk/checkstyle/debian/changelog
===================================================================
--- trunk/checkstyle/debian/changelog	2013-08-28 09:44:29 UTC (rev 17182)
+++ trunk/checkstyle/debian/changelog	2013-08-28 16:33:37 UTC (rev 17183)
@@ -1,3 +1,11 @@
+checkstyle (5.6-2) unstable; urgency=low
+
+  * Disabled tests that require internet access, which may not be
+    available on the build machines. Thanks to Andreas Moog.
+    (Closes: #714109, LP: #1217909)
+
+ -- Emmanuel Bourg <ebourg at apache.org>  Wed, 28 Aug 2013 18:26:59 +0200
+
 checkstyle (5.6-1) unstable; urgency=low
 
   * New upstream release

Modified: trunk/checkstyle/debian/maven.rules
===================================================================
--- trunk/checkstyle/debian/maven.rules	2013-08-28 09:44:29 UTC (rev 17182)
+++ trunk/checkstyle/debian/maven.rules	2013-08-28 16:33:37 UTC (rev 17183)
@@ -1,8 +1,8 @@
 
 antlr antlr jar s/2\..*/2.x/ * *
 commons-beanutils commons-beanutils jar s/.*/debian/ * *
+junit junit jar s/4\..*/4.x/ * *
 commons-beanutils s/commons-beanutils-core/commons-beanutils/ * s/.*/debian/ * *
-junit junit jar s/4\..*/4.x/ * *
 org.apache.ant s/ant-nodeps/ant/ * s/.*/debian/ * *
 s/ant/org.apache.ant/ * * s/.*/debian/ * *
 s/com.google.collections/com.google.guava/ s/google-collections/guava/ * s/.*/debian/ * *

Added: trunk/checkstyle/debian/patches/02_ignore_tests_requiring_internet_connectivity.diff
===================================================================
--- trunk/checkstyle/debian/patches/02_ignore_tests_requiring_internet_connectivity.diff	                        (rev 0)
+++ trunk/checkstyle/debian/patches/02_ignore_tests_requiring_internet_connectivity.diff	2013-08-28 16:33:37 UTC (rev 17183)
@@ -0,0 +1,15 @@
+Description: Disables the tests requiring an Internet connectivity
+ and causing a build failure on disconnected machines.
+Author: Emmanuel Bourg <ebourg at apache.org>
+Forwarded: not-needed
+Bug-Debian: http://bugs.debian.org/714109
+--- a/src/tests/com/puppycrawl/tools/checkstyle/filters/SuppressionsLoaderTest.java
++++ b/src/tests/com/puppycrawl/tools/checkstyle/filters/SuppressionsLoaderTest.java
+@@ -56,6 +56,7 @@
+     }
+ 
+     @Test
++    @org.junit.Ignore
+     public void testLoadFromURL() throws CheckstyleException
+     {
+         final FilterSet fc = SuppressionsLoader.loadSuppressions("http://checkstyle.hg.sourceforge.net/hgweb/checkstyle/checkstyle/raw-file/055e288619a5/src/testinputs/com/puppycrawl/tools/checkstyle/suppressions_none.xml");

Modified: trunk/checkstyle/debian/patches/series
===================================================================
--- trunk/checkstyle/debian/patches/series	2013-08-28 09:44:29 UTC (rev 17182)
+++ trunk/checkstyle/debian/patches/series	2013-08-28 16:33:37 UTC (rev 17183)
@@ -1 +1,2 @@
 01_link_to_system_javadocs.diff
+02_ignore_tests_requiring_internet_connectivity.diff




More information about the pkg-java-commits mailing list