mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Automatically detect missing symbols
which are usually optimized away by -O3. This CI can detect missing exports likeea84a68075
which was needed for761346a960
.
This commit is contained in:
parent
ea84a68075
commit
cda5745c1b
2 changed files with 3 additions and 0 deletions
|
@ -143,6 +143,8 @@ env:
|
|||
name: x86_64-linux
|
||||
os: linux
|
||||
<<: *gcc-8
|
||||
env:
|
||||
- TEST_MJIT_SYMBOLS=1 # detect exports missing for MJIT
|
||||
|
||||
- &jemalloc
|
||||
name: --with-jemalloc
|
||||
|
|
|
@ -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?
|
||||
|
|
Loading…
Reference in a new issue