From 7815d7d7135fd1b8de4b2b27472034e67645d96c Mon Sep 17 00:00:00 2001 From: k0kubun Date: Wed, 15 Aug 2018 04:51:10 +0000 Subject: [PATCH] test_function.rb: skip running test that times out with test-all w/ --jit-wait. I'm running the following command on Wecker CI everyday: ``` make test-all TESTOPTS="--color=never --job-status=normal" RUN_OPTS="--disable-gems --jit-wait --jit-warnings" RUBY_FORCE_TEST_JIT=1 ``` By running yesterday's all commits, r64354 ran successfully but r64355 didn't. So the test should be fixed to run with --jit-wait at first. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/fiddle/test_function.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/fiddle/test_function.rb b/test/fiddle/test_function.rb index 12a6425ff7..c6b2cd329d 100644 --- a/test/fiddle/test_function.rb +++ b/test/fiddle/test_function.rb @@ -73,6 +73,10 @@ module Fiddle end def test_nogvl_poll + if RubyVM::MJIT.enabled? + skip 'r64355 make `make test-all RUN_OPTS="--jit-wait"` hang and CI running it times out.' + end + # XXX hack to quiet down CI errors on EINTR from r64353 # [ruby-core:88360] [Misc #14937] # Making pipes (and sockets) non-blocking by default would allow