[freehep-graphicsio-ps] 07/09: Disable tests that depend on X.
Giovanni Mascellani
gio at moszumanska.debian.org
Mon Jun 13 08:57:49 UTC 2016
This is an automated email from the git hooks/post-receive script.
gio pushed a commit to branch master
in repository freehep-graphicsio-ps.
commit 3dd8f8aac9b9700681719f6dd8ae8af2f9cc2210
Author: Giovanni Mascellani <mascellani at poisson.phc.unipi.it>
Date: Sun Jun 12 18:45:12 2016 +0200
Disable tests that depend on X.
---
debian/changelog | 2 +-
debian/patches/series | 1 +
debian/patches/tests_nox.diff | 22 ++++++++++++++++++++++
3 files changed, 24 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index b4591ce..348e4af 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,7 +10,7 @@ freehep-graphicsio-ps (2.1.1-2) UNRELEASED; urgency=low
* Build with debhelper 9 instead of CDBS.
* Remove trivial information in debian/README.source.
* Add classpath to the JAR manifest.
- * Enable tests.
+ * Enable tests, except those depending on X.
[ Philipp Huebner ]
* Added myself as uploader
diff --git a/debian/patches/series b/debian/patches/series
index 81c78f0..ed99e8c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
classpath.diff
+tests_nox.diff
diff --git a/debian/patches/tests_nox.diff b/debian/patches/tests_nox.diff
new file mode 100644
index 0000000..6602b80
--- /dev/null
+++ b/debian/patches/tests_nox.diff
@@ -0,0 +1,22 @@
+From: Giovanni Mascellani <gio at debian.org>
+Subject: Disable tests that depend on X
+Index: freehep-graphicsio-ps/pom.xml
+===================================================================
+--- freehep-graphicsio-ps.orig/pom.xml
++++ freehep-graphicsio-ps/pom.xml
+@@ -30,6 +30,15 @@
+ </archive>
+ </configuration>
+ </plugin>
++ <plugin>
++ <groupId>org.apache.maven.plugins</groupId>
++ <artifactId>maven-surefire-plugin</artifactId>
++ <configuration>
++ <excludes>
++ <exclude>**/TestColorMap.java</exclude>
++ </excludes>
++ </configuration>
++ </plugin>
+ </plugins>
+ </build>
+ <dependencies>
--
Alioth's hooks/post-receive on /srv/git.debian.org/git/pkg-java/freehep/freehep-graphicsio-ps.git
More information about the pkg-java-commits
mailing list