...
 
Commits (2)
ring-clojure (1.6.2-2) UNRELEASED; urgency=medium
* Sort filenames for tests found using find, to ensure reproducible
lists of test files, as order matters for successful test runs. This
fixes the intermittent FTBFS due to test failures (Closes: #918437).
* Update Vcs-{Browser,Git} to point to salsa (alioth's replacement).
-- Cyril Brulebois <kibi@debian.org> Fri, 08 Feb 2019 12:31:29 +0000
ring-clojure (1.6.2-1) unstable; urgency=medium
* Initial release (Closes: #855749)
......
......@@ -18,8 +18,8 @@ Build-Depends: clojure (>= 1.8),
markdown,
maven-repo-helper (>= 1.5~)
Standards-Version: 4.0.0
Vcs-Git: https://anonscm.debian.org/git/pkg-java/ring-clojure.git
Vcs-Browser: https://anonscm.debian.org/git/pkg-java/ring-clojure.git
Vcs-Git: https://salsa.debian.org/java-team/ring-clojure.git
Vcs-Browser: https://salsa.debian.org/java-team/ring-clojure
Homepage: https://github.com/ring-clojure/ring
Package: libring-core-clojure
......
......@@ -14,12 +14,15 @@ override_jh_build:
jar cf ring-servlet.jar -C ring-servlet/src .
jar cf ring-jetty-adapter.jar -C ring-jetty-adapter/src .
# Sorting the filenames according to the C locale is sufficient to get a
# successful run as of 1.6.2 but further updates might need to encode a
# specific sequence instead (#918437):
override_dh_auto_test:
find ring-core/test -name '*.clj' | \
find ring-core/test -name '*.clj' | LC_ALL=C sort | \
xargs --verbose clojure -cp ring-core.jar:$(CORE_CLASSPATH)
find ring-servlet/test -name '*.clj' | \
find ring-servlet/test -name '*.clj' | LC_ALL=C sort | \
xargs --verbose clojure -cp ring-servlet.jar:ring-core.jar:$(SERVLET_CLASSPATH)
find ring-jetty-adapter/test -name '*.clj' | \
find ring-jetty-adapter/test -name '*.clj' | LC_ALL=C sort | \
xargs --verbose clojure -cp ring-jetty-adapter.jar:ring-servlet.jar:ring-core.jar:$(SERVLET_CLASSPATH):$(JETTY_CLASSPATH):/usr/share/java/clj-http.jar:/usr/share/java/commons-logging.jar
override_jh_clean:
......