From 71edd4ab8d4caf8aceb0a7cc8dede848214cd8d1 Mon Sep 17 00:00:00 2001 From: Ian Butterworth Date: Sat, 22 Jun 2024 22:39:33 -0400 Subject: [PATCH 1/2] skip compileall test on all 32-bit --- test/compileall.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/compileall.jl b/test/compileall.jl index 3f5549e2aece6..8b5228b0a98af 100644 --- a/test/compileall.jl +++ b/test/compileall.jl @@ -3,7 +3,7 @@ # with the rest of the tests. mktempdir() do dir - @test success(pipeline(`$(Base.julia_cmd()) --compile=all --strip-ir --output-o $(dir)/sys.o.a -e 'exit()'`, stderr=stderr)) broken=(Sys.iswindows() && Sys.WORD_SIZE == 32) + @test success(pipeline(`$(Base.julia_cmd()) --compile=all --strip-ir --output-o $(dir)/sys.o.a -e 'exit()'`, stderr=stderr)) broken=(Sys.WORD_SIZE == 32) if isfile(joinpath(dir, "sys.o.a")) Base.Linking.link_image(joinpath(dir, "sys.o.a"), joinpath(dir, "sys.so")) @test success(`$(Base.julia_cmd()) -J $(dir)/sys.so -e 'Base.scrub_repl_backtrace(nothing); exit()'`) From b48880acb4479bfea8d3474db386f6e947c21cef Mon Sep 17 00:00:00 2001 From: Ian Butterworth Date: Sat, 22 Jun 2024 22:41:39 -0400 Subject: [PATCH 2/2] change to skip --- test/compileall.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/compileall.jl b/test/compileall.jl index 8b5228b0a98af..beec0d6df49ab 100644 --- a/test/compileall.jl +++ b/test/compileall.jl @@ -3,7 +3,7 @@ # with the rest of the tests. mktempdir() do dir - @test success(pipeline(`$(Base.julia_cmd()) --compile=all --strip-ir --output-o $(dir)/sys.o.a -e 'exit()'`, stderr=stderr)) broken=(Sys.WORD_SIZE == 32) + @test success(pipeline(`$(Base.julia_cmd()) --compile=all --strip-ir --output-o $(dir)/sys.o.a -e 'exit()'`, stderr=stderr)) skip=(Sys.WORD_SIZE == 32) if isfile(joinpath(dir, "sys.o.a")) Base.Linking.link_image(joinpath(dir, "sys.o.a"), joinpath(dir, "sys.so")) @test success(`$(Base.julia_cmd()) -J $(dir)/sys.so -e 'Base.scrub_repl_backtrace(nothing); exit()'`)