diff options
author | Takashi Kokubun <[email protected]> | 2019-10-15 22:47:20 -0700 |
---|---|---|
committer | Takashi Kokubun <[email protected]> | 2019-10-15 22:47:20 -0700 |
commit | 4ccb49bad31b3c4a9cc7c6138cae93bd60a7bec4 (patch) | |
tree | 5125a6bf8cd10a85d5badc996f93af0354cf2a74 /test/lib/jit_support.rb | |
parent | 759576a03f0a39f3190e79526d138adc3a3f0a62 (diff) |
Enforce --jit-debug test by another way
Diffstat (limited to 'test/lib/jit_support.rb')
-rw-r--r-- | test/lib/jit_support.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lib/jit_support.rb b/test/lib/jit_support.rb index fc5c12e871..bab1d4e5c4 100644 --- a/test/lib/jit_support.rb +++ b/test/lib/jit_support.rb @@ -30,7 +30,7 @@ module JITSupport ] args << '--jit-wait' if wait args << '--jit-save-temps' if save_temps - args << '--jit-debug' if ENV['TEST_MJIT_SYMBOLS'] == '1' + args << '--jit-debug' if defined?(@jit_debug) && @jit_debug args << '-e' << script base_env = { 'MJIT_SEARCH_BUILD_DIR' => 'true' } # workaround to skip requiring `make install` for `make test-all` if preloadenv = RbConfig::CONFIG['PRELOADENV'] and !preloadenv.empty? |