test-skip-i386-spec
authorDebian Julia Team <pkg-julia-devel@lists.alioth.debian.org>
Fri, 17 May 2019 09:01:01 +0000 (10:01 +0100)
committerMo Zhou <cdluminate@gmail.com>
Fri, 17 May 2019 09:01:01 +0000 (10:01 +0100)
===================================================================

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

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

index 791c73a61f7dbf54efae79687d7fdd3eed503005..93b381d613141daecde7a5b21c9e96294fd29bd7 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