Skip to content

Commit 3adf74a

Browse files
committed
Fix jt test unit
1 parent 70d7ef9 commit 3adf74a

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
@@ -812,7 +812,9 @@ def test(*args)
812812
when 'basictest' then test_basictest(*rest)
813813
when 'bootstraptest' then test_bootstraptest(*rest)
814814
when 'mri' then test_mri(*rest)
815-
when 'unit', 'unittest' then mx 'unittest', 'org.truffleruby'
815+
when 'unit', 'unittest'
816+
tests = rest.empty? ? ['org.truffleruby'] : rest
817+
mx 'unittest', *tests
816818
when 'tck' then mx 'tck'
817819
else
818820
if File.expand_path(path, TRUFFLERUBY_DIR).start_with?("#{TRUFFLERUBY_DIR}/test")

0 commit comments

Comments
 (0)