[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/26: gnu: bctoolbox: Run tests conditionally.
From: |
guix-commits |
Subject: |
01/26: gnu: bctoolbox: Run tests conditionally. |
Date: |
Sun, 9 Apr 2023 05:06:36 -0400 (EDT) |
rekado pushed a commit to branch core-updates
in repository guix.
commit 3101fe4b8e666f88caa1c127efc5adcefc26741a
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Apr 6 19:38:47 2023 +0200
gnu: bctoolbox: Run tests conditionally.
* gnu/packages/linphone.scm (bctoolbox)[arguments]: Respect the TESTS? flag
in
the custom 'check phase.
---
gnu/packages/linphone.scm | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/linphone.scm b/gnu/packages/linphone.scm
index 84bc16805c..9b9c5fcd4b 100644
--- a/gnu/packages/linphone.scm
+++ b/gnu/packages/linphone.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2020, 2021 Raghav Gururajan <raghavgururajan@disroot.org>
;;; Copyright © 2020, 2021 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2020 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2023 Ricardo Wurmus <rekado@elephly.net>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -176,9 +177,10 @@ writing, administering, and running unit tests in C.")
(("if \\(file_exists\\(\"..\"\\)\\)")
"if (NULL)"))))
(replace 'check
- (lambda _
- (with-directory-excursion "tester"
- (invoke "./bctoolbox_tester")))))))
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion "tester"
+ (invoke "./bctoolbox_tester"))))))))
(inputs
`(("bcunit" ,bcunit)
("decaf" ,libdecaf)
- branch core-updates updated (57627eedc8 -> 03580b5f1d), guix-commits, 2023/04/09
- 02/26: gnu: bctoolbox: Drop input labels., guix-commits, 2023/04/09
- 03/26: gnu: bctoolbox: Update to 5.2.49., guix-commits, 2023/04/09
- 01/26: gnu: bctoolbox: Run tests conditionally.,
guix-commits <=
- 10/26: gnu: libcutl: Use GCC 10., guix-commits, 2023/04/09
- 07/26: gnu: belle-sip: Update to 5.2.49., guix-commits, 2023/04/09
- 04/26: gnu: belr: Update to 5.2.49., guix-commits, 2023/04/09
- 06/26: gnu: belcard: Simplify by using G-expression., guix-commits, 2023/04/09
- 08/26: gnu: soci: Update to 4.0.3., guix-commits, 2023/04/09
- 23/26: gnu: Add openldap-for-linphone., guix-commits, 2023/04/09
- 05/26: gnu: belcard: Update to 5.2.49., guix-commits, 2023/04/09
- 16/26: gnu: bcmatroska2: Update to 5.2.1., guix-commits, 2023/04/09
- 11/26: gnu: ortp: Use G-expression., guix-commits, 2023/04/09
- 17/26: gnu: mediastreamer2: Use G-expression., guix-commits, 2023/04/09