Skip to content

Commit 05b5c8e

Browse files
committed
test codec packages only when installed
1 parent 8dfe95d commit 05b5c8e

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

test/REQUIRE

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +0,0 @@
1-
CodecZlib
2-
CodecZstd

test/runtests.jl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ using Base.Test
8686
TranscodingStreams.test_roundtrip_transcode(Identity, Identity)
8787
end
8888

89-
Pkg.test("CodecZlib")
90-
Pkg.test("CodecZstd")
91-
Pkg.test("CodecBzip2")
89+
for pkg in ["CodecZlib", "CodecZstd", "CodecBzip2"]
90+
if Pkg.installed(pkg) !== nothing
91+
Pkg.test(pkg)
92+
end
93+
end

0 commit comments

Comments
 (0)