We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99fbe0e commit 5b3662eCopy full SHA for 5b3662e
test/rootfs.jl
@@ -138,6 +138,16 @@ end
138
@test_throws ErrorException choose_shards(platform; preferred_go_version = v"1.14", (common_opts)...)
139
end
140
141
+ @testset "OCaml toolchain selection" begin
142
+ platform = Platform("x86_64", "linux")
143
+ common_opts = (preferred_gcc_version=v"9", compilers=[:c, :ocaml])
144
+
145
+ shards = choose_shards(platform; preferred_ocaml_version = v"5.4", (common_opts)... )
146
+ @test filter(s-> s.name == "OCaml", shards)[end].version == v"5.4"
147
148
+ @test_throws ErrorException choose_shards(platform; preferred_ocaml_version = v"4.1", (common_opts)...)
149
+ end
150
151
@testset "GCC ABI matching" begin
152
# Preferred libgfortran version and C++ string ABI
153
platform = Platform("x86_64", "freebsd")
0 commit comments