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

ruby-changes:60406

From: Takashi <ko1@a...>
Date: Sun, 15 Mar 2020 13:14:06 +0900 (JST)
Subject: [ruby-changes:60406] 67fbc122fb (master): Resurrect test_jit_debug.rb

https://git.ruby-lang.org/ruby.git/commit/?id=67fbc122fb

From 67fbc122fb71fab9b148faedfb2159ad38d965ac Mon Sep 17 00:00:00 2001
From: Takashi Kokubun <takashikkbn@g...>
Date: Sat, 14 Mar 2020 21:03:45 -0700
Subject: Resurrect test_jit_debug.rb

Revert "Temporarily drop test_jit_debug.rb"

This reverts commit 5437d7c879585fbdb0c294298eb76cc563e01c69.

Skipped some CIs which were failing previously.

diff --git a/test/ruby/test_jit_debug.rb b/test/ruby/test_jit_debug.rb
new file mode 100644
index 0000000..bac6e38
--- /dev/null
+++ b/test/ruby/test_jit_debug.rb
@@ -0,0 +1,13 @@ https://github.com/ruby/ruby/blob/trunk/test/ruby/test_jit_debug.rb#L1
+require_relative 'test_jit'
+
+return unless defined?(TestJIT)
+return if ENV.key?('APPVEYOR')
+return if ENV.key?('RUBYCI_NICKNAME')
+return if ENV['RUBY_DEBUG']&.include?('ci') # ci.rvm.jp
+
+class TestJITDebug < TestJIT
+  def setup
+    # let `#eval_with_jit` use --jit-debug
+    @jit_debug = true
+  end
+end
-- 
cgit v0.10.2


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

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