mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	test_rubyvm_mjit.rb: skip testing MJIT if not supported
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
		
							parent
							
								
									33d318a29e
								
							
						
					
					
						commit
						3db5b21140
					
				
					 1 changed files with 6 additions and 0 deletions
				
			
		|  | @ -5,6 +5,12 @@ require_relative '../lib/jit_support' | |||
| class TestRubyVMMJIT < Test::Unit::TestCase | ||||
|   include JITSupport | ||||
| 
 | ||||
|   def setup | ||||
|     unless JITSupport.supported? | ||||
|       skip 'JIT seems not supported on this platform' | ||||
|     end | ||||
|   end | ||||
| 
 | ||||
|   def test_pause | ||||
|     out, err = eval_with_jit(<<~'EOS', verbose: 1, min_calls: 1, wait: false) | ||||
|       i = 0 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 k0kubun
						k0kubun