[前][次][番号順一覧][スレッド一覧]

ruby-changes:49173

From: nobu <ko1@a...>
Date: Sat, 16 Dec 2017 09:36:35 +0900 (JST)
Subject: [ruby-changes:49173] nobu:r61291 (trunk): test_vm_dump.rb: skip if gcc

nobu	2017-12-16 09:36:31 +0900 (Sat, 16 Dec 2017)

  New Revision: 61291

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=61291

  Log:
    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.

  Modified files:
    trunk/test/ruby/test_vm_dump.rb
Index: test/ruby/test_vm_dump.rb
===================================================================
--- test/ruby/test_vm_dump.rb	(revision 61290)
+++ test/ruby/test_vm_dump.rb	(revision 61291)
@@ -4,7 +4,7 @@ require 'test/unit' https://github.com/ruby/ruby/blob/trunk/test/ruby/test_vm_dump.rb#L4
 class TestVMDump < Test::Unit::TestCase
   def assert_darwin_vm_dump_works(args)
     skip if RUBY_PLATFORM !~ /darwin/
-    assert_in_out_err(args, "", [], [:*, /^.* main \+ \d+$/, :*, /^\[IMPORTANT\]/, :*])
+    assert_in_out_err(args, "", [], /^\[IMPORTANT\]/)
   end
 
   def test_darwin_invalid_call

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]