summaryrefslogtreecommitdiff
path: root/tool/lib
diff options
context:
space:
mode:
authorPavel Rosický <pavel.rosicky@easy.cz>2021-06-12 18:49:57 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2021-10-12 20:46:13 +0900
commit94882df3a215a3de16fa7ca18cf5c160f904c904 (patch)
tree1150503c5eb6a5b570ba3eb5e8fce26998fe036a /tool/lib
parentff1f696d300cdf2a7073ddec91846cd3aee103d8 (diff)
[ruby/digest] jruby support
https://github.com/ruby/digest/commit/2e9dc14693
Diffstat (limited to 'tool/lib')
-rw-r--r--tool/lib/core_assertions.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/tool/lib/core_assertions.rb b/tool/lib/core_assertions.rb
index 6769ee7a91..47d711f4fa 100644
--- a/tool/lib/core_assertions.rb
+++ b/tool/lib/core_assertions.rb
@@ -270,6 +270,7 @@ BEGIN {
eom
args = args.dup
args.insert((Hash === args.first ? 1 : 0), "-w", "--disable=gems", *$:.map {|l| "-I#{l}"})
+ args << "--debug" if RUBY_ENGINE == 'jruby' # warning: tracing (e.g. set_trace_func) will not capture all events without --debug flag
stdout, stderr, status = EnvUtil.invoke_ruby(args, src, capture_stdout, true, **opt)
ensure
if res_c