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:
Mathieu Othacehe 2019-11-26 08:31:43 +01:00
parent fcc4c6ae60
commit 2c5dd47cef
No known key found for this signature in database
GPG key ID: 8354763531769CA6

View file

@ -108,7 +108,7 @@ (define (compress-and-decompress data)
(test-assert* "Bytevector of size relative to Lzip internal buffers (1MiB+1)"
(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))))
(data (random-bytevector len))
(compressed (make-lzip-input-port/compressed