File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ ghr_jll = "07c12ed4-43bc-5495-8a2a-d5838ef8d533"
36
36
[compat ]
37
37
ArgParse = " 1.1"
38
38
Binutils_jll = " 2"
39
- BinaryBuilderBase = " 1.39"
39
+ BinaryBuilderBase = " 1.39.1 "
40
40
Downloads = " 1"
41
41
GitHub = " 5.1"
42
42
HTTP = " 0.8, 0.9, 1"
Original file line number Diff line number Diff line change
1
+ using BinaryBuilderBase: detect_compressor
2
+
1
3
@testset " Building libfoo" begin
2
4
# Test building with both `make` and `cmake`, using directory and git repository
3
5
for script in (libfoo_make_script, libfoo_cmake_script, libfoo_meson_script)
@@ -211,6 +213,12 @@ shards_to_test = expand_cxxstring_abis(expand_gfortran_versions(shards_to_test))
211
213
# Ensure the build products were created
212
214
@test isfile (tarball_path)
213
215
216
+ compressor = open (tarball_path) do io
217
+ detect_compressor (read (io, 6 ))
218
+ end
219
+ # Make sure the compression format is what we expect
220
+ @test compressor == " xz"
221
+
214
222
# Unpack it somewhere else
215
223
@test verify (tarball_path, tarball_hash)
216
224
testdir = joinpath (build_path, " testdir" )
You can’t perform that action at this time.
0 commit comments