Skip to content

Commit 29ce93a

Browse files
committed
Document why we pass truffleruby.mspec explicitly
1 parent d9dcb14 commit 29ce93a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tool/jt.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,9 @@ def git_clone(url, path)
703703
end
704704

705705
def run_mspec(env_vars, command = 'run', *args)
706-
mspec_args = ['spec/mspec/bin/mspec', command, '--config', ENV['TRUFFLERUBY_MSPEC_CONFIG'] || 'spec/truffleruby.mspec']
706+
# Pass spec/truffleruby.mspec explicitly because we also want to use it when
707+
# running specs on CRuby so that it finds that specs are under spec/ruby.
708+
mspec_args = ['spec/mspec/bin/mspec', command, '--config', 'spec/truffleruby.mspec']
707709

708710
Dir.chdir(TRUFFLERUBY_DIR) do
709711
# always enable assertions with --ea to catch issues earlier

0 commit comments

Comments
 (0)