1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/test/ruby
Alan Wu 244c98e635
Strip out YJIT at build time when unsupported or disabled (#5003)
In an effort to minimize build issues on non x64 platforms, we can
decide at build time to not build the bulk of YJIT. This should fix
obscure build errors like this one on riscv64:

    yjit_asm.c:137:(.text+0x3fa): relocation truncated to fit: R_RISCV_PCREL_HI20 against `alloc_exec_mem'

We also don't need to bulid YJIT on `--disable-jit-support` builds.

One wrinkle to this is that the YJIT Ruby module will not be defined
when YJIT is stripped from the build. I think that's a fair change as
it's only meant to be used for YJIT development.
2021-10-25 10:45:22 -04:00
..
enc Take into account data in emoji-variation-sequences.txt in tests. 2021-08-17 16:03:52 +09:00
allpairs.rb
beginmainend.rb
bug-11928.rb
bug-13526.rb
lbtest.rb
marshaltestlib.rb
sentence.rb
test_alias.rb
test_argf.rb Assert for duplicated ARGF [Bug #18074] 2021-08-10 23:40:45 +09:00
test_arithmetic_sequence.rb
test_arity.rb
test_array.rb Refined test [Bug #18140] 2021-09-02 09:11:41 +09:00
test_assignment.rb
test_ast.rb ast.c: AST.of against C method should return nil (as Ruby 2.6--3.0) 2021-09-18 21:52:18 +09:00
test_autoload.rb Remove autoload for constant if the autoload fails 2021-10-08 14:54:26 -07:00
test_backtrace.rb Make backtrace generation work outward from current frame 2021-08-06 10:15:01 -07:00
test_basicinstructions.rb
test_beginendblock.rb
test_bignum.rb
test_call.rb
test_case.rb
test_class.rb
test_clone.rb
test_comparable.rb
test_complex.rb
test_complex2.rb
test_complexrational.rb
test_condition.rb
test_const.rb
test_continuation.rb
test_default_gems.rb
test_defined.rb
test_dir.rb
test_dir_m17n.rb
test_econv.rb
test_encoding.rb
test_enum.rb Fix Enumerable#each_cons and Enumerable#each_slice to return a receiver 2021-10-25 12:13:44 +09:00
test_enumerator.rb Use capture_output instead of capture_io 2021-09-13 21:14:42 +09:00
test_env.rb Adjust test to set+get big values on all platforms and add MINGW-UCRT 2021-09-20 00:15:30 +09:00
test_eval.rb
test_exception.rb Use Test::Unit::AssertionFailedError instead of MiniTest::Assertion for test-unit migration 2021-09-06 18:34:15 +09:00
test_fiber.rb
test_file.rb
test_file_exhaustive.rb Add more grpowned? tests 2021-10-14 00:20:13 +09:00
test_fixnum.rb
test_flip.rb
test_float.rb
test_fnmatch.rb
test_frozen_error.rb
test_gc.rb Run in a separated process to run finalizers certainly 2021-07-27 14:55:20 +09:00
test_gc_compact.rb Stop infinite object allocation to get rid of OOM killer 2021-08-02 10:18:22 +09:00
test_hash.rb Add documentation and tests for keyword argument value omission 2021-09-11 20:23:36 +09:00
test_ifunless.rb
test_inlinecache.rb
test_insns_leaf.rb
test_integer.rb Improve performance of Integer#digits 2021-07-29 15:19:12 -07:00
test_integer_comb.rb
test_io.rb Fix Marshal.dump(closed_io) to raise TypeError and allow encoding on closed IO 2021-08-22 10:33:22 +09:00
test_io_m17n.rb
test_iseq.rb Dump outer variables tables when dumping an iseq to binary 2021-10-07 15:39:47 -07:00
test_iterator.rb
test_jit.rb test/ruby/test_jit.rb: Add a test for checkmatch insn 2021-10-25 21:30:16 +09:00
test_jit_debug.rb
test_key_error.rb
test_keyword.rb Adds mixed hash value and value omission tests 2021-09-13 13:54:03 +09:00
test_lambda.rb
test_lazy_enumerator.rb
test_literal.rb Fix evaluation order of hash values for duplicate keys 2021-10-18 09:09:07 -07:00
test_m17n.rb Show failed environment variables 2021-09-27 20:47:44 +09:00
test_m17n_comb.rb
test_marshal.rb test/ruby/test_marshal.rb: Prevent "assigned but unused variable" warning 2021-10-25 20:43:42 +09:00
test_math.rb
test_memory_view.rb
test_metaclass.rb
test_method.rb Add keyrest to ruby2_keywords parameters [Bug #18011] 2021-08-03 10:56:50 +09:00
test_method_cache.rb
test_mixed_unicode_escapes.rb
test_module.rb Use the flag for uninitialized module [Bug #18185] 2021-09-24 08:29:00 +09:00
test_name_error.rb
test_nomethod_error.rb
test_not.rb
test_numeric.rb Use Rational for Float#round with ndigits > 14 2021-08-06 15:03:51 -07:00
test_object.rb
test_objectspace.rb Reenable GC at the end of test 2021-08-04 16:11:08 -04:00
test_optimization.rb Make Array#min/max optimization respect refined methods 2021-09-30 15:18:14 -07:00
test_pack.rb Use capture_output instead of capture_io 2021-09-13 21:14:42 +09:00
test_parse.rb Remove duplicate value checks on mrhs which always has the value 2021-10-08 00:11:22 +09:00
test_path.rb
test_pattern_matching.rb Disable did_you_mean in TestPatternMatching 2021-10-22 21:22:14 -04:00
test_pipe.rb
test_primitive.rb
test_proc.rb
test_process.rb process.c: Add Process._fork (#5017) 2021-10-25 20:47:19 +09:00
test_rand.rb
test_range.rb
test_rational.rb
test_rational2.rb
test_readpartial.rb
test_refinement.rb test/ruby/test_refinement.rb: Prevent deprecation warnings during test 2021-10-25 20:44:29 +09:00
test_regexp.rb Avoid race condition in Regexp#match 2021-10-01 19:50:19 -09:00
test_require.rb Do not load file with same realpath twice when requiring 2021-10-02 05:51:29 -09:00
test_require_lib.rb
test_rubyoptions.rb Fix test_version again for RUBY_YJIT_ENABLE=1 2021-10-20 22:08:43 -07:00
test_rubyvm.rb test/ruby/test_rubyvm.rb: prevent "assigned but unused variable" warnings 2021-10-25 20:45:05 +09:00
test_rubyvm_jit.rb
test_settracefunc.rb Support tracing of attr_reader and attr_writer 2021-08-29 07:23:39 -07:00
test_signal.rb
test_sleep.rb
test_sprintf.rb
test_sprintf_comb.rb
test_stack.rb
test_string.rb Add tests for the edge caces of String#end_with? 2021-10-08 14:08:03 +09:00
test_stringchar.rb
test_struct.rb Make Struct#keyword_init? return nil by default [Feature #18008] 2021-07-15 22:24:02 +09:00
test_super.rb
test_symbol.rb
test_syntax.rb Fix evaluation order of hash values for duplicate keys 2021-10-18 09:09:07 -07:00
test_system.rb
test_thread.rb Remove extraneous conversion to float [Bug #18236] 2021-10-03 22:06:31 +09:00
test_thread_cv.rb Reap rarely leaked threads 2021-10-14 22:57:45 +09:00
test_thread_queue.rb
test_threadgroup.rb
test_time.rb Use Test::Unit::Runner instead of MiniTest::Unit 2021-09-11 08:48:03 +09:00
test_time_tz.rb
test_trace.rb
test_transcode.rb
test_undef.rb
test_unicode_escape.rb
test_variable.rb
test_vm_dump.rb
test_weakmap.rb
test_whileuntil.rb
test_yield.rb
test_yjit.rb Strip out YJIT at build time when unsupported or disabled (#5003) 2021-10-25 10:45:22 -04:00
ut_eof.rb