summaryrefslogtreecommitdiff
path: root/test/lib
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2019-09-01 16:31:09 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2019-09-01 16:31:15 +0900
commitcda5745c1bacdb3be8384d21ee0dd70a9d95af5b (patch)
tree877aea4288cf3dce2fe768cbc20540d9de80c424 /test/lib
parentea84a680755b5a7fa700618cbe78e3b2fc7be01d (diff)
Automatically detect missing symbols
which are usually optimized away by -O3. This CI can detect missing exports like ea84a680755b5a7fa700618cbe78e3b2fc7be01d which was needed for 761346a9604ca2c79777d1d67fb5dcc3c30dbf69.
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/jit_support.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lib/jit_support.rb b/test/lib/jit_support.rb
index c1624cc3b2..acda166eb2 100644
--- a/test/lib/jit_support.rb
+++ b/test/lib/jit_support.rb
@@ -29,6 +29,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 << '-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?