Skip to content

Commit 32c80b6

Browse files
committed
Fix tests after last change to PATH and LIBPATH
1 parent 30e2884 commit 32c80b6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

test/runtests.jl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ module TestJLL end
1515
@test isfile(@eval TestJLL Vulkan_Headers_jll.vk_xml_path)
1616
@test isfile(@eval TestJLL Vulkan_Headers_jll.get_vk_xml_path())
1717
@test isdir(@eval TestJLL Vulkan_Headers_jll.artifact_dir)
18-
@test isempty(@eval TestJLL Vulkan_Headers_jll.PATH)
19-
@test occursin(Sys.BINDIR, @eval TestJLL Vulkan_Headers_jll.LIBPATH)
18+
@test isempty(@eval TestJLL Vulkan_Headers_jll.PATH[])
19+
@test occursin(Sys.BINDIR, @eval TestJLL Vulkan_Headers_jll.LIBPATH[])
2020
# Package with an ExecutableProduct
2121
Pkg.develop(PackageSpec(path=joinpath(@__DIR__, "HelloWorldC_jll")))
2222
@test_nowarn @eval TestJLL using HelloWorldC_jll
@@ -28,8 +28,8 @@ module TestJLL end
2828
@test isfile(@eval TestJLL HelloWorldC_jll.hello_world_path[])
2929
@test isfile(@eval TestJLL HelloWorldC_jll.get_hello_world_path())
3030
@test isdir(@eval TestJLL HelloWorldC_jll.artifact_dir)
31-
@test !isempty(@eval TestJLL HelloWorldC_jll.PATH)
32-
@test occursin(Sys.BINDIR, @eval TestJLL HelloWorldC_jll.LIBPATH)
31+
@test !isempty(@eval TestJLL HelloWorldC_jll.PATH[])
32+
@test occursin(Sys.BINDIR, @eval TestJLL HelloWorldC_jll.LIBPATH[])
3333
end
3434
# Package with a LibraryProduct
3535
Pkg.develop(PackageSpec(path=joinpath(@__DIR__, "OpenLibm_jll")))
@@ -39,7 +39,7 @@ module TestJLL end
3939
@test isfile(@eval TestJLL OpenLibm_jll.libopenlibm_path)
4040
@test isfile(@eval TestJLL OpenLibm_jll.get_libopenlibm_path())
4141
@test isdir(@eval TestJLL OpenLibm_jll.artifact_dir)
42-
@test isempty(@eval TestJLL OpenLibm_jll.PATH)
43-
@test occursin(Sys.BINDIR, @eval TestJLL OpenLibm_jll.LIBPATH)
42+
@test isempty(@eval TestJLL OpenLibm_jll.PATH[])
43+
@test occursin(Sys.BINDIR, @eval TestJLL OpenLibm_jll.LIBPATH[])
4444
end
4545
end

0 commit comments

Comments
 (0)