diff options
author | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2019-06-10 12:20:08 +0900 |
---|---|---|
committer | Maxim Cournoyer <maxim.cournoyer@gmail.com> | 2019-07-02 10:07:59 +0900 |
commit | a853acebe1ccdba51ae509cd8a838a954c7c8bd2 (patch) | |
tree | ec0fe12a28e20734e9e38339fbe5f48898ea7e39 /tests | |
parent | 01589acc5e114e46e314777bc0d60ebfa620e4f8 (diff) | |
download | guix-a853acebe1ccdba51ae509cd8a838a954c7c8bd2.tar.gz |
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.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/pypi.scm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/pypi.scm b/tests/pypi.scm index a0271fffad..6df69073dc 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)))) |