1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

test_vm_dump.rb: skip if gcc

* test/ruby/test_vm_dump.rb (assert_darwin_vm_dump_works): gcc seems
  not to chain some frames like Apple's clang.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61291 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2017-12-16 00:36:31 +00:00
parent 7c18db61a1
commit d2333dd92c

View file

@ -4,7 +4,7 @@ require 'test/unit'
class TestVMDump < Test::Unit::TestCase class TestVMDump < Test::Unit::TestCase
def assert_darwin_vm_dump_works(args) def assert_darwin_vm_dump_works(args)
skip if RUBY_PLATFORM !~ /darwin/ skip if RUBY_PLATFORM !~ /darwin/
assert_in_out_err(args, "", [], [:*, /^.* main \+ \d+$/, :*, /^\[IMPORTANT\]/, :*]) assert_in_out_err(args, "", [], /^\[IMPORTANT\]/)
end end
def test_darwin_invalid_call def test_darwin_invalid_call