summaryrefslogtreecommitdiff
path: root/test/lib
diff options
context:
space:
mode:
authorTakashi Kokubun <takashikkbn@gmail.com>2020-03-06 20:19:56 -0800
committerTakashi Kokubun <takashikkbn@gmail.com>2020-03-06 20:19:56 -0800
commit9745e90197f129708986803e8913fb151862478a (patch)
treed3d7f416b6010334f9a139d56b630e25612591c1 /test/lib
parentf991340e07e76038b044d73ef41bd0cdeb68cf62 (diff)
downloadruby-9745e90197f129708986803e8913fb151862478a.tar.gz
Propagate JIT skip to all tests
Diffstat (limited to 'test/lib')
-rw-r--r--test/lib/jit_support.rb8
1 files changed, 7 insertions, 1 deletions
diff --git a/test/lib/jit_support.rb b/test/lib/jit_support.rb
index 018a364373..b6f7a5830a 100644
--- a/test/lib/jit_support.rb
+++ b/test/lib/jit_support.rb
@@ -8,6 +8,12 @@ module JITSupport
%r[\A.*/bin/intel64/icc\b],
%r[\A/opt/developerstudio\d+\.\d+/bin/cc\z],
]
+ # freebsd12: cc1 internal failure https://rubyci.org/logs/rubyci.s3.amazonaws.com/freebsd12/ruby-master/log/20200306T103003Z.fail.html.gz
+ # rhel8: one or more PCH files were found, but they were invalid https://rubyci.org/logs/rubyci.s3.amazonaws.com/rhel8/ruby-master/log/20200306T153003Z.fail.html.gz
+ PENDING_RUBYCI_NICKNAMES = %w[
+ freebsd12
+ rhel8
+ ]
module_function
# Run Ruby script with --jit-wait (Synchronous JIT compilation).
@@ -47,7 +53,7 @@ module JITSupport
return @supported if defined?(@supported)
@supported = UNSUPPORTED_COMPILERS.all? do |regexp|
!regexp.match?(RbConfig::CONFIG['MJIT_CC'])
- end && RbConfig::CONFIG["MJIT_SUPPORT"] != 'no'
+ end && RbConfig::CONFIG["MJIT_SUPPORT"] != 'no' && !PENDING_RUBYCI_NICKNAMES.include?(ENV['RUBYCI_NICKNAME'])
end
def remove_mjit_logs(stderr)