test-skip-i386-spec
authorDebian Julia Team <pkg-julia-devel@lists.alioth.debian.org>
Sat, 2 Mar 2019 23:41:50 +0000 (23:41 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Sat, 2 Mar 2019 23:41:50 +0000 (23:41 +0000)
===================================================================

Gbp-Pq: Name test-skip-i386-spec.patch

test/compiler/compiler.jl
test/stacktraces.jl

index 01b7000a6a68a2f2ccc3fb8e6dda16c6e4cef73c..3b022df125e69b231568f7a0690a0285b1e90aec 100644 (file)
@@ -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
index ab870468383f415881f34558f75881b966a62100..4584be0ceb1b4e31dd5959a71eab28b34bd682eb 100644 (file)
@@ -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