You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: test/runners.jl
+4-3Lines changed: 4 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -30,12 +30,13 @@ end
30
30
# Are we using docker? If so, test that the docker runner works...
31
31
@testset"Runner utilities"begin
32
32
# Test that is_ecryptfs works for something we're certain isn't encrypted
33
-
ifisdir("/proc")
33
+
34
+
ifisdir("/proc") && Sys.islinux()
34
35
isecfs = (false, "/proc/")
35
36
@test_logs (:info, "Checking to see if /proc/ is encrypted...") @test BinaryBuilderBase.is_ecryptfs("/proc"; verbose=true) == isecfs
36
37
@test_logs (:info, "Checking to see if /proc/ is encrypted...") @test BinaryBuilderBase.is_ecryptfs("/proc/"; verbose=true) == isecfs
37
38
@test_logs (:info, "Checking to see if /proc/not_a_file is encrypted...") @test BinaryBuilderBase.is_ecryptfs("/proc/not_a_file"; verbose=true) == isecfs
38
-
else
39
+
elseif Sys.islinux()
39
40
@test_logs (:info, "Checking to see if /proc/ is encrypted...") @test BinaryBuilderBase.is_ecryptfs("/proc"; verbose=true) == (false, "/proc")
40
41
@test_logs (:info, "Checking to see if /proc/ is encrypted...") @test BinaryBuilderBase.is_ecryptfs("/proc/"; verbose=true) == (false, "/proc/")
41
42
@test_logs (:info, "Checking to see if /proc/not_a_file is encrypted...") @test BinaryBuilderBase.is_ecryptfs("/proc/not_a_file"; verbose=true) == (false, "/proc/not_a_file")
@@ -101,7 +102,7 @@ end
101
102
@testset"Compilation - C++ string ABI"begin
102
103
mktempdir() do dir
103
104
# Host is x86_64-linux-musl-cxx11 and target is x86_64-linux-musl-cxx03
104
-
ur =preferred_runner()(dir; platform=Platform(arch(HostPlatform()), "linux"; libc="musl", cxxstring_abi="cxx03"), preferred_gcc_version=v"5")
105
+
ur =preferred_runner()(dir; platform=Platform("x86_64", "linux"; libc="musl", cxxstring_abi="cxx03"), preferred_gcc_version=v"5")
0 commit comments