This is an automated email from the git hooks/post-receive script. mans0954 pushed a commit to branch master in repository spymemcached.
commit c7164cbe3f8103c446b7e57c268328d5c7ae84c3 Author: Christopher Hoskin <[email protected]> Date: Sat Aug 19 07:56:26 2017 +0100 Enable tests, disabling 6 failing tests pending further investigation --- debian/changelog | 1 + debian/maven.ignoreRules | 3 --- debian/maven.properties | 5 +++-- debian/maven.rules | 1 + debian/rules | 19 +++++++++++++++++++ 5 files changed, 24 insertions(+), 5 deletions(-) diff --git a/debian/changelog b/debian/changelog index 7a8e538..86a4311 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,5 +1,6 @@ spymemcached (2.12.1-1) UNRELEASED; urgency=medium * Initial release (Closes: #845789) + * Enable tests, disabling 5 failing tests pending further investigation -- Christopher Hoskin <[email protected]> Fri, 25 Nov 2016 17:15:52 +0000 diff --git a/debian/maven.ignoreRules b/debian/maven.ignoreRules deleted file mode 100644 index 4110510..0000000 --- a/debian/maven.ignoreRules +++ /dev/null @@ -1,3 +0,0 @@ - -jmock jmock * * * * -junit junit * * * * diff --git a/debian/maven.properties b/debian/maven.properties index e593715..6e7f093 100644 --- a/debian/maven.properties +++ b/debian/maven.properties @@ -1,5 +1,6 @@ # Include here properties to pass to Maven during the build. # For example: # maven.test.skip=true - -maven.test.skip=true +test=\!AsciiClientTest,\!AsciiIPV6ClientTest,\!BinaryClientTest,\!BinaryIPV6ClientTest,\!WokenUpOnIdleTest,\!QueueOverflowTest +project.build.sourceEncoding=UTF-8 +project.reporting.outputEncoding=UTF-8 diff --git a/debian/maven.rules b/debian/maven.rules index 2da60a2..2f76382 100644 --- a/debian/maven.rules +++ b/debian/maven.rules @@ -3,3 +3,4 @@ io.dropwizard.metrics metrics-parent pom s/.*/debian/ * * net.spy spymemcached jar s/.*/debian/ * * log4j log4j * s/1\.2\..*/1.2.x/ * * s/com.codahale.metrics/io.dropwizard.metrics/ * * s/.*/debian/ * * +junit junit jar s/4\..*/4.x/ diff --git a/debian/rules b/debian/rules index aba914b..b515e0f 100755 --- a/debian/rules +++ b/debian/rules @@ -1,7 +1,26 @@ #!/usr/bin/make -f +#Inspired by libmongodb-perl + +BUILDHOME = $(CURDIR)/debian/build +PIDFILE = $(BUILDHOME)/memcached.pid +WHOAMI = $(shell whoami) +PORT := $(shell /bin/netstat -want | perl -w -e 'while (<>) { $$used{$$1}=1 if /127\.0\.0\.1:(\d+)/;}; $$port = 20000; while ($$used{$$port}) { $$port++ }; print "$$port\n";') %: dh $@ --buildsystem=maven +override_dh_auto_test: +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) + mkdir -p $(BUILDHOME) + memcached -u $(WHOAMI) -p $(PORT) -P $(PIDFILE) -d + export SPY_MC_TEST_SERVER=localhost:$(PORT) SPYMC_TEST_SERVER_V4=localhost:$(PORT);\ + dh_auto_test -- -Dserver.port_number=$(PORT) test + [ ! -s $(PIDFILE) ] || /bin/kill `cat $(PIDFILE)` +endif + +override_dh_clean: + dh_clean + rm -rf $(BUILDHOME) + get-orig-source: uscan --download-current-version --force-download --no-symlink -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/spymemcached.git _______________________________________________ pkg-java-commits mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

