@@ -45,12 +45,15 @@ module TestJLL end
4545
4646 @testset " filter_main_tarball" begin
4747 @test ! BinaryBuilder. filter_main_tarball (" " , AnyPlatform ())
48- @test BinaryBuilder. filter_main_tarball (" Foo.v1.2.3.x86_64-linux-gnu.tar.gz" , Platform (" x86_64" , " linux" ))
49- @test ! BinaryBuilder. filter_main_tarball (" Foo-logs.v1.2.3.x86_64-linux-gnu.tar.gz" , Platform (" x86_64" , " linux" ))
50- @test ! BinaryBuilder. filter_main_tarball (" Foo.v1.2.3.x86_64-linux-gnu-cxx11.tar.gz" , Platform (" x86_64" , " linux" ))
51- @test ! BinaryBuilder. filter_main_tarball (" Foo.v1.2.3.x86_64-linux-gnu.tar.gz" , Platform (" x86_64" , " linux" ; cxxstring_abi= " cxx11" ))
52- @test BinaryBuilder. filter_main_tarball (" Foo_Bar.v1.2.3.aarch64-linux-gnu-cuda+12.0-cuda_platform+jetson.tar.gz" , Platform (" aarch64" , " linux" ; cuda= " 12.0" , cuda_platform= " jetson" ))
53- @test BinaryBuilder. filter_main_tarball (" Foo_Bar.v1.2.3.aarch64-linux-gnu-cuda_platform+jetson-cuda+12.0.tar.gz" , Platform (" aarch64" , " linux" ; cuda= " 12.0" , cuda_platform= " jetson" ))
48+ @test BinaryBuilder. filter_main_tarball (" F/Foo/products/Foo.v1.2.3.any.tar.gz" , AnyPlatform ())
49+ @test BinaryBuilder. filter_main_tarball (" F/Foo/products/Foo.v1.2.3.x86_64-linux-gnu.tar.gz" , Platform (" x86_64" , " linux" ))
50+ @test ! BinaryBuilder. filter_main_tarball (" F/Foo/products/Foo-logs.v1.2.3.x86_64-linux-gnu.tar.gz" , Platform (" x86_64" , " linux" ))
51+ @test ! BinaryBuilder. filter_main_tarball (" F/Foo/products/Foo.v1.2.3.x86_64-linux-gnu-cxx11.tar.gz" , Platform (" x86_64" , " linux" ))
52+ @test ! BinaryBuilder. filter_main_tarball (" F/Foo/products/Foo.v1.2.3.x86_64-linux-gnu.tar.gz" , Platform (" x86_64" , " linux" ; cxxstring_abi= " cxx11" ))
53+ @test BinaryBuilder. filter_main_tarball (" F/Foo/products/Foo.v1.2.3.x86_64-linux-gnu-cxx11.tar.gz" , Platform (" x86_64" , " linux" ; cxxstring_abi= " cxx11" ))
54+ @test BinaryBuilder. filter_main_tarball (" F/Foo_Bar/products/Foo_Bar.v1.2.3.aarch64-linux-gnu-cuda+12.0-cuda_platform+jetson.tar.gz" , Platform (" aarch64" , " linux" ; cuda= " 12.0" , cuda_platform= " jetson" ))
55+ @test BinaryBuilder. filter_main_tarball (" F/Foo_Bar/products/Foo_Bar.v1.2.3.aarch64-linux-gnu-cuda_platform+jetson-cuda+12.0.tar.gz" , Platform (" aarch64" , " linux" ; cuda= " 12.0" , cuda_platform= " jetson" ))
56+ @test BinaryBuilder
. filter_main_tarball (
" F/Foo/[email protected] /products/Foo.v1.2.3.x86_64-linux-gnu.tar.gz" ,
Platform (
" x86_64" ,
" linux" ))
5457 end
5558
5659 @testset " get_github_author_login" begin
0 commit comments