mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
jit_support.rb: skip testing MJIT on oracle developer studio
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
1922e6ad65
commit
45918161a8
1 changed files with 5 additions and 2 deletions
|
|
@ -4,7 +4,8 @@ module JITSupport
|
||||||
JIT_TIMEOUT = 600 # 10min for each...
|
JIT_TIMEOUT = 600 # 10min for each...
|
||||||
JIT_SUCCESS_PREFIX = 'JIT success \(\d+\.\dms\)'
|
JIT_SUCCESS_PREFIX = 'JIT success \(\d+\.\dms\)'
|
||||||
UNSUPPORTED_COMPILERS = [
|
UNSUPPORTED_COMPILERS = [
|
||||||
'icc',
|
%r[\Aicc\z],
|
||||||
|
%r[\A/opt/developerstudio\d+\.\d+/bin/cc\z],
|
||||||
]
|
]
|
||||||
|
|
||||||
module_function
|
module_function
|
||||||
|
|
@ -42,7 +43,9 @@ module JITSupport
|
||||||
|
|
||||||
def supported?
|
def supported?
|
||||||
return @supported if defined?(@supported)
|
return @supported if defined?(@supported)
|
||||||
@supported = !UNSUPPORTED_COMPILERS.include?(RbConfig::CONFIG['CC'])
|
@supported = UNSUPPORTED_COMPILERS.all? do |regexp|
|
||||||
|
!regexp.match?(RbConfig::CONFIG['CC'])
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def remove_mjit_logs(stderr)
|
def remove_mjit_logs(stderr)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue