Skip to content

Commit 21200e0

Browse files
committed
Fix jt test mri --no-sulong to not run OpenSSL tests
PullRequest: truffleruby/677
2 parents 699a9eb + e1bc52d commit 21200e0

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
@@ -994,7 +994,9 @@ def test_mri(*args)
994994
test_module = MRI_TEST_MODULES[arg]
995995
if test_module
996996
patterns.push(*test_module[:include])
997-
excluded_files.push(*test_module[:exclude])
997+
excluded_files.concat test_module[:exclude].to_a.flat_map { |pattern|
998+
Dir.glob("#{MRI_TEST_PREFIX}/#{pattern}").sort.map { |path| mri_test_name(path) }
999+
}
9981000
elsif arg.start_with?('-')
9991001
mri_args.push arg
10001002
else

0 commit comments

Comments
 (0)