[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/12: tests: pypi: Mute the output of tar.
From: |
guix-commits |
Subject: |
02/12: tests: pypi: Mute the output of tar. |
Date: |
Mon, 1 Jul 2019 21:43:02 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit a853acebe1ccdba51ae509cd8a838a954c7c8bd2
Author: Maxim Cournoyer <address@hidden>
Date: Mon Jun 10 12:20:08 2019 +0900
tests: pypi: Mute the output of tar.
The output of tar when creating archives for the purpose of tests is not
useful, so we mute it.
* tests/pypi.scm ("pypi->guix-package"): Mute the output of tar.
("pypi->guix-package, wheels"): Likewise.
---
tests/pypi.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tests/pypi.scm b/tests/pypi.scm
index a0271ff..6df6907 100644
--- a/tests/pypi.scm
+++ b/tests/pypi.scm
@@ -112,7 +112,8 @@ baz > 13.37
(with-output-to-file "foo-1.0.0/foo.egg-info/requires.txt"
(lambda ()
(display test-requires.txt)))
- (system* "tar" "czvf" file-name "foo-1.0.0/")
+ (parameterize ((current-output-port (%make-void-port "rw+")))
+ (system* "tar" "czvf" file-name "foo-1.0.0/"))
(delete-file-recursively "foo-1.0.0")
(set! test-source-hash
(call-with-input-file file-name port-sha256))))
@@ -163,7 +164,8 @@ baz > 13.37
(with-output-to-file "foo-1.0.0/foo.egg-info/requires.txt"
(lambda ()
(display test-requires.txt)))
- (system* "tar" "czvf" file-name "foo-1.0.0/")
+ (parameterize ((current-output-port (%make-void-port "rw+")))
+ (system* "tar" "czvf" file-name "foo-1.0.0/"))
(delete-file-recursively "foo-1.0.0")
(set! test-source-hash
(call-with-input-file file-name port-sha256))))
- branch master updated (0f06512 -> 4b60ab8), guix-commits, 2019/07/01
- 03/12: import: pypi: Do not parse optional requirements from source., guix-commits, 2019/07/01
- 02/12: tests: pypi: Mute the output of tar.,
guix-commits <=
- 06/12: import: pypi: Support more types of archives., guix-commits, 2019/07/01
- 12/12: import: pypi: Preserve package name case when forming pypi-uri., guix-commits, 2019/07/01
- 01/12: import: pypi: Do not consider requirements.txt files., guix-commits, 2019/07/01
- 05/12: import: pypi: Deduplicate requirements., guix-commits, 2019/07/01
- 04/12: import: pypi: Improve parsing of requirement specifications., guix-commits, 2019/07/01
- 11/12: import: pypi: Update the host URI., guix-commits, 2019/07/01
- 08/12: import: pypi: Fix typo in docstring., guix-commits, 2019/07/01
- 09/12: import: pypi: Completely mute the output of the "unzip" command., guix-commits, 2019/07/01
- 07/12: import: pypi: Parse wheel METADATA instead of metadata.json., guix-commits, 2019/07/01
- 10/12: import: pypi: Include optional test inputs as native-inputs., guix-commits, 2019/07/01