mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 13:58:15 -05:00
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.
This commit is contained in:
parent
01589acc5e
commit
a853acebe1
1 changed files with 4 additions and 2 deletions
|
@ -112,7 +112,8 @@ (define test-metadata
|
||||||
(with-output-to-file "foo-1.0.0/foo.egg-info/requires.txt"
|
(with-output-to-file "foo-1.0.0/foo.egg-info/requires.txt"
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(display test-requires.txt)))
|
(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")
|
(delete-file-recursively "foo-1.0.0")
|
||||||
(set! test-source-hash
|
(set! test-source-hash
|
||||||
(call-with-input-file file-name port-sha256))))
|
(call-with-input-file file-name port-sha256))))
|
||||||
|
@ -163,7 +164,8 @@ (define test-metadata
|
||||||
(with-output-to-file "foo-1.0.0/foo.egg-info/requires.txt"
|
(with-output-to-file "foo-1.0.0/foo.egg-info/requires.txt"
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(display test-requires.txt)))
|
(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")
|
(delete-file-recursively "foo-1.0.0")
|
||||||
(set! test-source-hash
|
(set! test-source-hash
|
||||||
(call-with-input-file file-name port-sha256))))
|
(call-with-input-file file-name port-sha256))))
|
||||||
|
|
Loading…
Reference in a new issue