@@ -468,14 +468,14 @@ def help
468
468
options build the options
469
469
cexts build only the C extensions (part of "jt build")
470
470
native [--no-sulong] [--no-jvmci] [--no-sforceimports] [--no-tools] [extra mx image options]
471
- build a native image of TruffleRuby (--no-jvmci to use the system Java)
471
+ build a native image of TruffleRuby (--no-jvmci to use the system Java)
472
472
(--no-tools to exclude chromeinspector and profiler)
473
473
jt build_stats [--json] <attribute> prints attribute's value from build process (e.g., binary size)
474
474
jt clean clean
475
475
jt env prints the current environment
476
476
jt rebuild clean, sforceimports, and build
477
477
jt dis <file> finds the bc file in the project, disassembles, and returns new filename
478
- jt ruby [jt options] [--] [ruby options] args...
478
+ jt ruby [jt options] [--] [ruby options] args...
479
479
run TruffleRuby with args
480
480
--graal use Graal (set either GRAALVM_BIN, JVMCI_BIN or GRAAL_HOME, or have graal built as a sibling)
481
481
--stress stress the compiler (compile immediately, foreground compilation, compilation exceptions are fatal)
@@ -489,7 +489,7 @@ def help
489
489
--jdebug run a JDWP debug server on #{ JDEBUG_PORT }
490
490
--jexception[s] print java exceptions
491
491
--exec use exec rather than system
492
- --no-print-cmd don\' t print the command
492
+ --no-print-cmd don\' t print the command
493
493
jt gem shortcut for `jt ruby -S gem`, to install Ruby gems, etc
494
494
jt e 14 + 2 evaluate an expression
495
495
jt puts 14 + 2 evaluate and print an expression
@@ -974,11 +974,11 @@ def test_mri(*args)
974
974
end
975
975
end . sort - excluded_files
976
976
977
- run_mri_tests ( mri_args , files_to_run , runner_args )
977
+ run_mri_tests ( mri_args , files_to_run , runner_args , use_exec : true )
978
978
end
979
979
private :test_mri
980
980
981
- def run_mri_tests ( extra_args , test_files , runner_args , run_options = { } )
981
+ def run_mri_tests ( extra_args , test_files , runner_args , run_options )
982
982
prefix = "test/mri/tests/"
983
983
abs_prefix = "#{ TRUFFLERUBY_DIR } /#{ prefix } "
984
984
test_files = test_files . map { |file |
@@ -1063,7 +1063,7 @@ def retag(*args)
1063
1063
sh "ruby" , "tool/parse_mri_errors.rb" , output_file
1064
1064
1065
1065
puts "3. Verifying tests pass"
1066
- run_mri_tests ( options , test_files , [ ] )
1066
+ run_mri_tests ( options , test_files , [ ] , use_exec : true )
1067
1067
end
1068
1068
1069
1069
def test_compiler ( *args )
@@ -1764,9 +1764,9 @@ def benchmark(*args)
1764
1764
run_args . push *args
1765
1765
1766
1766
if benchmark_ruby
1767
- sh benchmark_ruby , *run_args
1767
+ sh benchmark_ruby , *run_args , use_exec : true
1768
1768
else
1769
- run_ruby *run_args
1769
+ run_ruby *run_args , use_exec : true
1770
1770
end
1771
1771
end
1772
1772
0 commit comments