Message ID | CAO+9K5rJ8XXosECK-KAgx-y=3t-WK8kfgqSKcC08093vdekhxA@mail.gmail.com |
---|---|
State | New |
Headers | show |
Series | [bug#48593] : gnu: cl-portable-threads: Enable tests | expand |
Context | Check | Description |
---|---|---|
cbaines/comparison | success | View comparision |
cbaines/git branch | success | View Git branch |
cbaines/applying patch | fail | View Laminar job |
cbaines/issue | success | View issue |
Sharlatan Hellseher <sharlatanus@gmail.com> skribis: > I've enabled test and build the package and it looks ok for me, I am > not sure of the reason why it was disabled I get an error when building ecl-portable-threads: --8<---------------cut here---------------start------------->8--- ;; Starting portable threads tests... ;; Performing basic lock tests... ;; Timing 1,000,000 nonrecursive-lock acquisitions... 0.26 seconds ;; Timing 1,000,000 recursive-lock acquisitions... 0.24 seconds ;; Timing 1,000,000 condition-variable lock acquisitions... 0.28 seconds ;; Timing 1,000,000 nested nonrecursive-lock acquisitions... 0.49 seconds ;; Timing 1,000,000 nested recursive-lock acquisitions... 0.48 seconds ;; Checking with a non-lock object... ;; Testing recursive locking with a recursive lock... ;; Checking recursive locking with a non-recursive lock... ;; Testing WITH-LOCK-HELD returned values... ;; Testing WITH/WITHOUT-LOCK-HELD forms and throws... ;; Completed basic lock tests (1.75 seconds real time). ;; Testing atomic-incf/decf... ;; Completed atomic-incf/decf test ;; Testing atomic-incf&/decf&... ;; Completed atomic-incf&/decf& test ;; Performing WITH-TIMEOUT tests...An error occurred during initialization: Cannot interrupt the inactive process #<process WITH-TIMEOUT timer 0x7fffefce9880>. --8<---------------cut here---------------end--------------->8--- Does it work on your machine?
Hi Guillaume, Yes it's my fault not to test ECL build as well, I can confirm it's failed for ECL on my machine but SBCL is passed. I've open an issue in upstream https://github.com/binghe/portable-threads/issues/4 We probably can disable tests just for ECL implementation and keep SBCL one. On Sun, 23 May 2021 at 11:46, Guillaume Le Vaillant <glv@posteo.net> wrote: > > Sharlatan Hellseher <sharlatanus@gmail.com> skribis: > > > I've enabled test and build the package and it looks ok for me, I am > > not sure of the reason why it was disabled > > I get an error when building ecl-portable-threads: > > --8<---------------cut here---------------start------------->8--- > ;; Starting portable threads tests... > ;; Performing basic lock tests... > ;; Timing 1,000,000 nonrecursive-lock acquisitions... 0.26 seconds > ;; Timing 1,000,000 recursive-lock acquisitions... 0.24 seconds > ;; Timing 1,000,000 condition-variable lock acquisitions... 0.28 seconds > ;; Timing 1,000,000 nested nonrecursive-lock acquisitions... 0.49 seconds > ;; Timing 1,000,000 nested recursive-lock acquisitions... 0.48 seconds > ;; Checking with a non-lock object... > ;; Testing recursive locking with a recursive lock... > ;; Checking recursive locking with a non-recursive lock... > ;; Testing WITH-LOCK-HELD returned values... > ;; Testing WITH/WITHOUT-LOCK-HELD forms and throws... > ;; Completed basic lock tests (1.75 seconds real time). > ;; Testing atomic-incf/decf... > ;; Completed atomic-incf/decf test > ;; Testing atomic-incf&/decf&... > ;; Completed atomic-incf&/decf& test > ;; Performing WITH-TIMEOUT tests...An error occurred during initialization: > Cannot interrupt the inactive process #<process WITH-TIMEOUT timer 0x7fffefce9880>. > --8<---------------cut here---------------end--------------->8--- > > Does it work on your machine?
From 118b36be60187b02d1b90b67a0104b3322a0471e Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher <sharlatanus@gmail.com> Date: Sat, 22 May 2021 21:34:52 +0100 Subject: [PATCH] gnu: cl-portable-threads: Enable tests --- gnu/packages/lisp-xyz.scm | 3 --- 1 file changed, 3 deletions(-) diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 5355c21678..f85693886c 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -3665,9 +3665,6 @@ portability, and boilerplate reduction in CSS.") (sha256 (base32 "058ksi07vfdmhrf5mdlc833s82m1rcqfja2266520m3r8bzs8bvs")))) (build-system asdf-build-system/sbcl) - (arguments - `(;; Tests seem broken. - #:tests? #f)) (home-page "https://github.com/binghe/portable-threads") (synopsis "Portable threads API for Common Lisp") (description -- 2.31.1