[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/16: gnu: spdlog: Prevent test failure on busy machines.
From: |
guix-commits |
Subject: |
12/16: gnu: spdlog: Prevent test failure on busy machines. |
Date: |
Tue, 9 Aug 2022 18:29:48 -0400 (EDT) |
mbakke pushed a commit to branch master
in repository guix.
commit 131e09b95a85a826e539b7a6a536e217e0cdcf7c
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Tue Aug 9 22:20:31 2022 +0200
gnu: spdlog: Prevent test failure on busy machines.
* gnu/packages/logging.scm (spdlog)[source](modules, snippet): New fields.
---
gnu/packages/logging.scm | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/logging.scm b/gnu/packages/logging.scm
index 9e7cfe613a..099b6a9509 100644
--- a/gnu/packages/logging.scm
+++ b/gnu/packages/logging.scm
@@ -220,7 +220,14 @@ output in multiple windows in a terminal.")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
- (base32 "02xz017ba9fssm1rp1fcfld7h79awbr6fqai9dxaqp02akp3davk"))))
+ (base32 "02xz017ba9fssm1rp1fcfld7h79awbr6fqai9dxaqp02akp3davk"))
+ (modules '((guix build utils)))
+ (snippet
+ ;; Prevent race on busy hardware. Remove snippet for versions
+ ;; > 1.10.0; see <https://github.com/gabime/spdlog/issues/2363>.
+ '(substitute* "tests/test_misc.cpp"
+ (("spdlog::details::os::sleep_for_millis\\(10\\)")
+ "spdlog::details::os::sleep_for_millis(100)")))))
(build-system cmake-build-system)
;; TODO run benchmark. Currently not possible, as adding
;; (gnu packages benchmark) forms a dependency cycle
- branch master updated (4b780d002d -> 02de6a5981), guix-commits, 2022/08/09
- 02/16: gnu: cereal: List all licenses that apply., guix-commits, 2022/08/09
- 03/16: gnu: liburing: Update to 2.2., guix-commits, 2022/08/09
- 07/16: gnu: box2d: Unbundle doctest., guix-commits, 2022/08/09
- 16/16: gnu: freeimage: Remove input labels., guix-commits, 2022/08/09
- 10/16: gnu: v4l-utils: Remove input labels., guix-commits, 2022/08/09
- 12/16: gnu: spdlog: Prevent test failure on busy machines.,
guix-commits <=
- 01/16: gnu: cereal: Update to 1.3.2., guix-commits, 2022/08/09
- 04/16: gnu: libbpf: Update to 0.8.1., guix-commits, 2022/08/09
- 05/16: gnu: bcc: Update to 0.24.0., guix-commits, 2022/08/09
- 06/16: gnu: bpftrace: Update to 0.15.0., guix-commits, 2022/08/09
- 08/16: gnu: ungoogled-chromium: Install crashpad handler., guix-commits, 2022/08/09
- 09/16: gnu: v4l-utils: Update to 1.22.1., guix-commits, 2022/08/09
- 11/16: gnu: python-tlsh: Update to 4.11.2., guix-commits, 2022/08/09
- 13/16: gnu: multipath-tools: Remove input labels., guix-commits, 2022/08/09
- 14/16: gnu: multipath-tools: Update to 0.9.0., guix-commits, 2022/08/09
- 15/16: gnu: freeimage: Update home page., guix-commits, 2022/08/09