mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
tests: lzlib: Do not fail if lzlib in not available.
* tests/lzlib.scm: Use test-assert* for all test cases, so that there are no failures if lzlib is unavailable.
This commit is contained in:
parent
fcc4c6ae60
commit
2c5dd47cef
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ (define (compress-and-decompress data)
|
||||||
(test-assert* "Bytevector of size relative to Lzip internal buffers (1MiB+1)"
|
(test-assert* "Bytevector of size relative to Lzip internal buffers (1MiB+1)"
|
||||||
(compress-and-decompress (random-bytevector (1+ (* 1024 1024)))))
|
(compress-and-decompress (random-bytevector (1+ (* 1024 1024)))))
|
||||||
|
|
||||||
(test-assert "make-lzip-input-port/compressed"
|
(test-assert* "make-lzip-input-port/compressed"
|
||||||
(let* ((len (pk 'len (+ 10 (random 4000 %seed))))
|
(let* ((len (pk 'len (+ 10 (random 4000 %seed))))
|
||||||
(data (random-bytevector len))
|
(data (random-bytevector len))
|
||||||
(compressed (make-lzip-input-port/compressed
|
(compressed (make-lzip-input-port/compressed
|
||||||
|
|
Loading…
Reference in a new issue