Skip to content

Commit 2f84b6d

Browse files
committed
fix regex and add 1.5 to AppVeyor
1 parent 248b863 commit 2f84b6d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.appveyor.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ environment:
55
- julia_version: 1.2
66
- julia_version: 1.3
77
- julia_version: 1.4
8+
- julia_version: 1.5
89
- julia_version: latest
910

1011
platform:

test/interop.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,11 +191,11 @@ end
191191
@test unsafe_load(ptr) == 2
192192

193193
ir = sprint(io->code_llvm(io, unsafe_load, Tuple{typeof(ptr)}))
194-
if VERSION >= v"1.6-" && Sys.iswindows() && Sys.WORD_SIZE == 32
194+
if VERSION >= v"1.5.2" && Sys.iswindows() && Sys.WORD_SIZE == 32
195195
# FIXME: Win32 nightly emits a i64*, even though bitstype_to_llvm uses T_int8
196-
@test_broken contains(ir, r"@julia_unsafe_load_\d+\(i8\*\)")
196+
@test_broken contains(ir, r"@julia_unsafe_load_\d+\(i8\*")
197197
else
198-
@test contains(ir, r"@julia_unsafe_load_\d+\(i8\*\)")
198+
@test contains(ir, r"@julia_unsafe_load_\d+\(i8\*")
199199
end
200200
@test contains(ir, r"load i64, i64\* %\d+, align 1")
201201

0 commit comments

Comments
 (0)