@@ -8,16 +8,35 @@ using BinaryBuilderBase: RustBuild, CompilerShard
88 @test expand_gfortran_versions (Platform (" i686" , " windows" )) == [
99 Platform (" i686" , " windows" ; libgfortran_version= v " 5" ),
1010 ]
11+ @test expand_gfortran_versions (Platform (" i686" , " windows" ); old_abis= true ) == [
12+ Platform (" i686" , " windows" ; libgfortran_version= v " 3" ),
13+ Platform (" i686" , " windows" ; libgfortran_version= v " 4" ),
14+ Platform (" i686" , " windows" ; libgfortran_version= v " 5" ),
15+ ]
1116 @test expand_gfortran_versions ([Platform (" i686" , " windows" ), Platform (" x86_64" , " windows" )]) == [
1217 Platform (" i686" , " windows" ; libgfortran_version= v " 5" ),
1318 Platform (" x86_64" , " windows" ; libgfortran_version= v " 5" ),
1419 ]
20+ @test expand_gfortran_versions ([Platform (" i686" , " windows" ), Platform (" x86_64" , " windows" )]; old_abis= true ) == [
21+ Platform (" i686" , " windows" ; libgfortran_version= v " 3" ),
22+ Platform (" i686" , " windows" ; libgfortran_version= v " 4" ),
23+ Platform (" i686" , " windows" ; libgfortran_version= v " 5" ),
24+ Platform (" x86_64" , " windows" ; libgfortran_version= v " 3" ),
25+ Platform (" x86_64" , " windows" ; libgfortran_version= v " 4" ),
26+ Platform (" x86_64" , " windows" ; libgfortran_version= v " 5" ),
27+ ]
1528 @test expand_gfortran_versions ([Platform (" x86_64" , " freebsd" ; libgfortran_version= v " 3" )]) ==
1629 [Platform (" x86_64" , " freebsd" ; libgfortran_version= v " 3" )]
1730 @test expand_gfortran_versions ([Platform (" x86_64" , " macos" ), Platform (" aarch64" , " macos" )]) == [
1831 Platform (" x86_64" , " macos" ; libgfortran_version= v " 5" ),
1932 Platform (" aarch64" , " macos" ; libgfortran_version= v " 5" ),
2033 ]
34+ @test expand_gfortran_versions ([Platform (" x86_64" , " macos" ), Platform (" aarch64" , " macos" )]; old_abis= true ) == [
35+ Platform (" x86_64" , " macos" ; libgfortran_version= v " 3" ),
36+ Platform (" x86_64" , " macos" ; libgfortran_version= v " 4" ),
37+ Platform (" x86_64" , " macos" ; libgfortran_version= v " 5" ),
38+ Platform (" aarch64" , " macos" ; libgfortran_version= v " 5" ),
39+ ]
2140 @test expand_gfortran_versions (Platform (" aarch64" , " freebsd" )) ==
2241 [Platform (" aarch64" , " freebsd" ; libgfortran_version= v " 5" )]
2342 @test expand_gfortran_versions ([Platform (" x86_64" , " linux" ; sanitize= " memory" )]) ==
@@ -28,6 +47,10 @@ using BinaryBuilderBase: RustBuild, CompilerShard
2847 @test expand_cxxstring_abis (Platform (" x86_64" , " linux" ; libc= " musl" )) == [
2948 Platform (" x86_64" , " linux" , libc= " musl" , cxxstring_abi= " cxx11" ),
3049 ]
50+ @test expand_cxxstring_abis (Platform (" x86_64" , " linux" ; libc= " musl" ); old_abis= true ) == [
51+ Platform (" x86_64" , " linux" , libc= " musl" , cxxstring_abi= " cxx03" ),
52+ Platform (" x86_64" , " linux" , libc= " musl" , cxxstring_abi= " cxx11" ),
53+ ]
3154 @test expand_cxxstring_abis ([Platform (" x86_64" , " freebsd" ), Platform (" x86_64" , " macos" )]) == [
3255 Platform (" x86_64" , " freebsd" ),
3356 Platform (" x86_64" , " macos" ),
@@ -36,10 +59,21 @@ using BinaryBuilderBase: RustBuild, CompilerShard
3659 Platform (" x86_64" , " freebsd" ; cxxstring_abi= " cxx11" ),
3760 Platform (" x86_64" , " macos" ; cxxstring_abi= " cxx11" ),
3861 ]
62+ @test expand_cxxstring_abis ([Platform (" x86_64" , " freebsd" ), Platform (" x86_64" , " macos" )]; skip= _-> false , old_abis= true ) == [
63+ Platform (" x86_64" , " freebsd" ; cxxstring_abi= " cxx03" ),
64+ Platform (" x86_64" , " freebsd" ; cxxstring_abi= " cxx11" ),
65+ Platform (" x86_64" , " macos" ; cxxstring_abi= " cxx03" ),
66+ Platform (" x86_64" , " macos" ; cxxstring_abi= " cxx11" ),
67+ ]
3968 @test expand_cxxstring_abis ([Platform (" x86_64" , " freebsd" ), Platform (" x86_64" , " linux" )]; skip= Sys. islinux) == [
4069 Platform (" x86_64" , " freebsd" ; cxxstring_abi= " cxx11" ),
4170 Platform (" x86_64" , " linux" ),
4271 ]
72+ @test expand_cxxstring_abis ([Platform (" x86_64" , " freebsd" ), Platform (" x86_64" , " linux" )]; skip= Sys. islinux, old_abis= true ) == [
73+ Platform (" x86_64" , " freebsd" ; cxxstring_abi= " cxx03" ),
74+ Platform (" x86_64" , " freebsd" ; cxxstring_abi= " cxx11" ),
75+ Platform (" x86_64" , " linux" ),
76+ ]
4377 @test expand_cxxstring_abis ([Platform (" i686" , " linux" ; cxxstring_abi= " cxx11" )]) ==
4478 [Platform (" i686" , " linux" ; cxxstring_abi= " cxx11" )]
4579 @test expand_cxxstring_abis ([Platform (" x86_64" , " linux" ; sanitize= " memory" )]) ==
0 commit comments