tests: lzlib: Do not fail if lzlib in not available.
authorMathieu Othacehe <m.othacehe@gmail.com>
Tue, 26 Nov 2019 07:31:43 +0000 (08:31 +0100)
committerMathieu Othacehe <m.othacehe@gmail.com>
Sun, 1 Dec 2019 15:51:40 +0000 (16:51 +0100)
* tests/lzlib.scm: Use test-assert* for all test cases, so that there are no
failures if lzlib is unavailable.

tests/lzlib.scm

index 543622b..d8d0e6e 100644 (file)
 (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