[mpj] 01/02: Try to add build time tests but failed

Andreas Tille tille at debian.org
Wed May 11 08:48:03 UTC 2016


This is an automated email from the git hooks/post-receive script.

tille pushed a commit to branch master
in repository mpj.

commit 39152afce408a43ad5c8c845b53900bf6285ba6d
Author: Andreas Tille <tille at debian.org>
Date:   Wed May 11 10:38:06 2016 +0200

    Try to add build time tests but failed
---
 debian/changelog |  1 +
 debian/rules     | 25 ++++++++++++++++++++++++-
 2 files changed, 25 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 45aeefe..80d1589 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ mpj (0.44+dfsg-1) UNRELEASED; urgency=medium
   * Use compression options of uscan in d/watch
   * Fix clean target
   * Install all JARs build by the project
+  * Try to add build time tests but failed
 
  -- Andreas Tille <tille at debian.org>  Wed, 11 May 2016 08:43:39 +0200
 
diff --git a/debian/rules b/debian/rules
index 0ee2477..091ff84 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,5 +6,28 @@ JAVA_HOME=/usr/lib/jvm/default-java
 	dh $@ --with javahelper
 
 override_dh_auto_build:
-	dh_auto_build -- -Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5
+	dh_auto_build -- -Dant.build.javac.source=1.8 -Dant.build.javac.target=1.8
 
+#override_dh_auto_test:
+#	ant -f test/build.xml
+#
+# Needs more work:
+#   
+#    [javac] /build/mpj-0.44+dfsg/test/build.xml:7: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
+#    [javac] Compiling 5 source files
+#    [javac] Note: /build/mpj-0.44+dfsg/test/jgf_mpj_benchmarks/jgfutil/JGFInstrumentor.java uses unchecked or unsafe operations.
+#    [javac] Note: Recompile with -Xlint:unchecked for details.
+#    [javac] /build/mpj-0.44+dfsg/test/build.xml:10: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
+#    [javac] Compiling 9 source files
+#    [javac] /build/mpj-0.44+dfsg/test/jgf_mpj_benchmarks/section1/JGFAlltoallBench.java:28: error: cannot find symbol
+#    [javac] public class JGFAlltoallBench implements JGFSection1{
+#    [javac]                                          ^
+#    [javac]   symbol: class JGFSection1
+#    [javac] /build/mpj-0.44+dfsg/test/jgf_mpj_benchmarks/section1/JGFBarrierBench.java:27: error: cannot find symbol
+#    [javac] public class JGFBarrierBench implements JGFSection1{
+#    [javac]                                         ^
+#    [javac]   symbol: class JGFSection1
+#    [javac] /build/mpj-0.44+dfsg/test/jgf_mpj_benchmarks/section1/JGFBcastBench.java:28: error: cannot find symbol
+#    [javac] public class JGFBcastBench implements JGFSection1{
+#    [javac]                                       ^
+#

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/mpj.git



More information about the pkg-java-commits mailing list