@@ -57,18 +57,8 @@ def jt(*args):
57
57
mx .run (['ruby' , join (root , 'tool/jt.rb' )] + list (args ))
58
58
59
59
def build_truffleruby (args = []):
60
- # Only build the necessary distributions to avoid building Sulong tests
61
- truffleruby_dists = [
62
- 'TRUFFLERUBY' ,
63
- 'TRUFFLERUBY-LAUNCHER' ,
64
- 'TRUFFLERUBY_GRAALVM_SUPPORT' ,
65
- 'TRUFFLERUBY-TEST' ,
66
- ]
67
60
mx .command_function ('sversions' )([])
68
- mx .command_function ('build' )([
69
- '--force-javac' , '--warning-as-error' , '--force-deprecation-as-warning' ,
70
- '-A-Xmaxerrs' , '-A1000' , # show more than default 100 errors not to hide actual errors under many missing symbols
71
- '--dependencies' , ',' .join (truffleruby_dists )])
61
+ jt ("build" )
72
62
73
63
def ruby_deploy_binaries (args ):
74
64
"""Deploy a binary suite for truffleruby"""
@@ -103,8 +93,7 @@ def ruby_run_specs(args):
103
93
def ruby_testdownstream_hello (args ):
104
94
"""Run a minimal Hello World test"""
105
95
build_truffleruby ()
106
- with VerboseMx ():
107
- mx .run (['bin/truffleruby' , '-e' , 'puts "Hello Ruby!"' ], cwd = root )
96
+ jt ('ruby' , '-e' , 'puts "Hello Ruby!"' )
108
97
109
98
def ruby_testdownstream_aot (args ):
110
99
"""Run tests for the native image"""
0 commit comments