@@ -29,13 +29,26 @@ class MSpecScript
29
29
end
30
30
end
31
31
32
+ # Specs that need Sulong and should be tested in the Sulong gate
33
+ library_cext_specs = %w[
34
+ spec/ruby/library/etc
35
+ spec/ruby/library/openssl
36
+ spec/ruby/library/rbconfig/sizeof
37
+ spec/ruby/library/syslog
38
+ spec/ruby/library/yaml
39
+ spec/ruby/library/zlib
40
+ spec/ruby/security/cve_2017_17742_spec.rb
41
+ ]
42
+
32
43
set :command_line , [
33
44
"spec/ruby/command_line"
34
45
]
35
46
36
47
set :security , [
37
48
"spec/ruby/security" ,
38
- "^spec/ruby/security/cve_2017_17742_spec.rb" # :library_cext
49
+
50
+ # Tested separately as they need Sulong
51
+ *library_cext_specs . map { |path | "^#{ path } " }
39
52
]
40
53
41
54
set :language , [
@@ -51,23 +64,9 @@ class MSpecScript
51
64
"^spec/ruby/core/dir/element_reference_spec.rb"
52
65
]
53
66
54
- # Specs that need Sulong and should be tested in the Sulong gate
55
- library_cext_specs = %w[
56
- spec/ruby/library/etc
57
- spec/ruby/library/openssl
58
- spec/ruby/library/rbconfig/sizeof
59
- spec/ruby/library/syslog
60
- spec/ruby/library/yaml
61
- spec/ruby/library/zlib
62
- spec/ruby/security/cve_2017_17742_spec.rb
63
- ]
64
-
65
67
set :library , [
66
68
"spec/ruby/library" ,
67
69
68
- # Issues with monkey patching breaking our core
69
- "^spec/ruby/library/mathn" ,
70
-
71
70
# Trying to enable breaks a lot of things
72
71
"^spec/ruby/library/net" ,
73
72
@@ -86,6 +85,8 @@ class MSpecScript
86
85
87
86
set :truffle , [
88
87
"spec/truffle" ,
88
+
89
+ # Tested separately
89
90
"^spec/truffle/capi"
90
91
]
91
92
0 commit comments