Skip to content

Commit 6be73b4

Browse files
committed
Disable broken trimming mapreduce test
1 parent 5f94859 commit 6be73b4

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

test/trimming/trimmability.jl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,11 @@ function @main(args::Vector{String})::Cint
2424
println(Core.stdout, PROGRAM_FILE)
2525
foreach(x->println(Core.stdout, x), args)
2626

27-
# test map/mapreduce; should work but relies on inlining and other optimizations
28-
# test that you can dispatch to some number of concrete cases
29-
println(Core.stdout, sum_areas(Shape[Circle(1), Square(2)]))
27+
# broken on 1.12
28+
#
29+
# # test map/mapreduce; should work but relies on inlining and other optimizations
30+
# # test that you can dispatch to some number of concrete cases
31+
# println(Core.stdout, sum_areas(Shape[Circle(1), Square(2)]))
3032

3133
arr = rand(10)
3234
sorted_arr = sort(arr)

test/trimming/trimming.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ let exe_suffix = splitext(Base.julia_exename())[2]
1010
@test filesize(hello_exe) < 1_900_000
1111

1212
trimmability_exe = joinpath(bindir, "trimmability" * exe_suffix)
13-
@test readchomp(`$trimmability_exe arg1 arg2`) == "Hello, world!\n$trimmability_exe\narg1\narg2\n$(4.0+pi)"
13+
@test readchomp(`$trimmability_exe arg1 arg2`) == "Hello, world!\n$trimmability_exe\narg1\narg2"
1414

1515
basic_jll_exe = joinpath(bindir, "basic_jll" * exe_suffix)
1616
lines = split(readchomp(`$basic_jll_exe`), "\n")

0 commit comments

Comments
 (0)