From 99d177cf340c1843ae4cc86e544aee29a000b3e4 Mon Sep 17 00:00:00 2001 From: Debian Julia Team Date: Fri, 17 May 2019 10:01:01 +0100 Subject: [PATCH] test-skip-i386-spec =================================================================== Gbp-Pq: Name test-skip-i386-spec.patch --- test/compiler/compiler.jl | 4 ++++ test/stacktraces.jl | 2 ++ 2 files changed, 6 insertions(+) diff --git a/test/compiler/compiler.jl b/test/compiler/compiler.jl index 791c73a..93b381d 100644 --- a/test/compiler/compiler.jl +++ b/test/compiler/compiler.jl @@ -879,11 +879,15 @@ function break_21369() end i += 1 end + if !(Sys.ARCH in [:i386, :i686]) @test fr.func === :break_21369 + end rethrow() end end +if !(Sys.ARCH in [:i386, :i686]) @test_throws ErrorException break_21369() # not TypeError +end # issue #17003 abstract type AArray_17003{T,N} end diff --git a/test/stacktraces.jl b/test/stacktraces.jl index ab87046..4584be0 100644 --- a/test/stacktraces.jl +++ b/test/stacktraces.jl @@ -76,10 +76,12 @@ let ct = current_task() @test try_stacktrace()[1] == StackFrame(:try_stacktrace, @__FILE__, line_numbers[2]) # Test try...catch with catch_backtrace + if !(Sys.ARCH in [:i386, :i686]) @test try_catch()[1:2] == [ StackFrame(:bad_function, @__FILE__, line_numbers[1]), StackFrame(:try_catch, @__FILE__, line_numbers[3]) ] + end end module inlined_test -- 2.30.2