[Git][clojure-team/core-async-clojure][debian/main] 4 commits: d/patches: add 0002 to revert upstream regression in testsuite.

Louis-Philippe Véronneau gitlab at salsa.debian.org
Tue Dec 8 23:20:28 GMT 2020



Louis-Philippe Véronneau pushed to branch debian/main at Debian Clojure Maintainers / core-async-clojure


Commits:
5b31ae12 by Louis-Philippe Véronneau at 2020-12-08T17:12:54-05:00
d/patches: add 0002 to revert upstream regression in testsuite.

- - - - -
7e5df8e0 by Louis-Philippe Véronneau at 2020-12-08T17:54:06-05:00
d/tests: fix classpath issue.

- - - - -
f70715cf by Louis-Philippe Véronneau at 2020-12-08T17:57:16-05:00
Add classpath to binary jar.

- - - - -
5d68ecb7 by Louis-Philippe Véronneau at 2020-12-08T18:11:40-05:00
Release 1.3.610-2 to unstable

- - - - -


6 changed files:

- debian/changelog
- + debian/libcore-async-clojure.classpath
- + debian/patches/0002_Fix_Test_Timing.patch
- debian/patches/series
- debian/tests/build
- debian/tests/unittests


Changes:

=====================================
debian/changelog
=====================================
@@ -1,11 +1,14 @@
-core-async-clojure (1.3.610-2) UNRELEASED; urgency=medium
-  
+core-async-clojure (1.3.610-2) unstable; urgency=medium
+
   * Team upload.
   * d/rules: build using leiningen. (Closes: #976415)
   * d/control: add a versioned dependency on tools-analyzer-jvm.
   * d/control: Standards-Version update to 4.5.1. No changes required.
+  * d/patches: add 0002 to revert upstream regression in testsuite.
+  * d/tests: fix classpath issue.
+  * Add classpath to binary jar.
 
- -- Louis-Philippe Véronneau <pollo at debian.org>  Mon, 07 Dec 2020 12:26:22 -0500
+ -- Louis-Philippe Véronneau <pollo at debian.org>  Tue, 08 Dec 2020 18:10:47 -0500
 
 core-async-clojure (1.3.610-1) unstable; urgency=medium
 


=====================================
debian/libcore-async-clojure.classpath
=====================================
@@ -0,0 +1 @@
+usr/share/java/core.async.jar usr/share/java/clojure.jar usr/share/java/tools.analyzer.jvm


=====================================
debian/patches/0002_Fix_Test_Timing.patch
=====================================
@@ -0,0 +1,42 @@
+Revert upstream commit 094d239e0261263de3799bb6bd1cc33f06833d8b "make test less
+timing dependent", as it seems to intermittently create the following
+regression:
+
+  lein test :only clojure.core.async-test/ops-tests
+
+  FAIL in (ops-tests) (async_test.clj:304)
+  mult
+  expected: (= nil (a/poll! t-1))
+    actual: (not (= nil 2))
+
+  lein test :only clojure.core.async-test/ops-tests
+
+  FAIL in (ops-tests) (async_test.clj:305)
+  mult
+  expected: (= 1 (<!! t-2))
+    actual: (not (= 1 2))
+
+  lein test :only clojure.core.async-test/ops-tests
+
+  FAIL in (ops-tests) (async_test.clj:306)
+  mult
+  expected: (= 2 (<!! t-1))
+    actual: (not (= 2 3))
+Index: core-async-clojure/src/test/clojure/clojure/core/async_test.clj
+===================================================================
+--- core-async-clojure.orig/src/test/clojure/clojure/core/async_test.clj
++++ core-async-clojure/src/test/clojure/clojure/core/async_test.clj
+@@ -300,10 +300,10 @@
+       (tap m t-2)
+       (tap m t-3)
+       (close! t-3)
+-      (is (= 1 (<!! t-1)))
++      (is (= 1 (a/poll! t-1)))
+       (is (= nil (a/poll! t-1))) ;; t-2 hasn't taken yet
+-      (is (= 1 (<!! t-2)))
+-      (is (= 2 (<!! t-1))) ;; now available
++      (is (= 1 (a/poll! t-2)))
++      (is (= 2 (a/poll! t-1))) ;; now available
+       (is (= nil (a/poll! t-1)))))
+ 
+   (testing "mix"


=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
 0001_Lein_Local.patch
+0002_Fix_Test_Timing.patch


=====================================
debian/tests/build
=====================================
@@ -1,5 +1,5 @@
 #!/bin/sh
 
-CLASSPATH=/usr/share/java/clojure.jar:/usr/share/java/tools.analyzer.jvm.jar:/usr/share/java/core.async.jar
+CLASSPATH=/usr/share/java/clojure.jar:/usr/share/java/tools.analyzer.jar:/usr/share/java/core.memoize.jar:/usr/share/java/tools.reader.jar:/usr/share/java/asm.jar:/usr/share/java/tools.analyzer.jvm.jar:/usr/share/java/core.async.jar
 
 clojure -cp $CLASSPATH -e '(use '"'"'clojure.core.async)'


=====================================
debian/tests/unittests
=====================================
@@ -1,7 +1,7 @@
 #!/bin/sh
 set -efu
 
-CLASSPATH=/usr/share/java/clojure.jar:/usr/share/java/tools.analyzer.jvm.jar:/usr/share/java/core.async.jar
+CLASSPATH=/usr/share/java/clojure.jar:/usr/share/java/tools.analyzer.jar:/usr/share/java/core.memoize.jar:/usr/share/java/tools.reader.jar:/usr/share/java/asm.jar:/usr/share/java/tools.analyzer.jvm.jar:/usr/share/java/core.async.jar
 
 cp -a src/test/clojure "$AUTOPKGTEST_TMP/test"
 cd "$AUTOPKGTEST_TMP"



View it on GitLab: https://salsa.debian.org/clojure-team/core-async-clojure/-/compare/ba92ae68a58e4e7ab20377886a46a556d28a22c9...5d68ecb743ff69e7f6c6249f1270fb46f67f3102

-- 
View it on GitLab: https://salsa.debian.org/clojure-team/core-async-clojure/-/compare/ba92ae68a58e4e7ab20377886a46a556d28a22c9...5d68ecb743ff69e7f6c6249f1270fb46f67f3102
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-commits/attachments/20201208/3a177917/attachment.html>


More information about the pkg-java-commits mailing list