[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/07: tests: Gracefully skip zlib test when zlib is missing.
From: |
guix-commits |
Subject: |
07/07: tests: Gracefully skip zlib test when zlib is missing. |
Date: |
Tue, 16 Apr 2019 11:33:16 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit b2c3640d2baa7bc929bf21880e6fb2785f5997f6
Author: Ludovic Courtès <address@hidden>
Date: Tue Apr 16 17:29:25 2019 +0200
tests: Gracefully skip zlib test when zlib is missing.
* tests/zlib.scm: Use 'test-skip' instead of (exit 77)
when (zlib-available?) returns false.
---
tests/zlib.scm | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/tests/zlib.scm b/tests/zlib.scm
index 5455240..7c595a4 100644
--- a/tests/zlib.scm
+++ b/tests/zlib.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2016 Ludovic Courtès <address@hidden>
+;;; Copyright © 2016, 2019 Ludovic Courtès <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -26,11 +26,10 @@
;; Test the (guix zlib) module.
-(unless (zlib-available?)
- (exit 77))
-
(test-begin "zlib")
+(unless (zlib-available?)
+ (test-skip 1))
(test-assert "compression/decompression pipe"
(let ((data (random-bytevector (+ (random 10000)
(* 20 1024)))))
- branch master updated (b744862 -> b2c3640), guix-commits, 2019/04/16
- 02/07: derivations: Reduce 'valid-path?' RPCs in 'derivation-prerequisites-to-build'., guix-commits, 2019/04/16
- 03/07: store: Add "add-data-to-store-cache" profiling component., guix-commits, 2019/04/16
- 01/07: store: Memoize 'built-in-builders' call directly in <store-connection>., guix-commits, 2019/04/16
- 07/07: tests: Gracefully skip zlib test when zlib is missing.,
guix-commits <=
- 04/07: gnu: guile-charting: Install .go files in the right place., guix-commits, 2019/04/16
- 05/07: gnu: Add libomp., guix-commits, 2019/04/16
- 06/07: gnu: slurm: Configure with a "standard" syslogdir., guix-commits, 2019/04/16