forked from rubinius/rubinius
/
rbx.2.0.mspec
176 lines (153 loc) · 4.24 KB
/
rbx.2.0.mspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
# vim: filetype=ruby
class MSpecScript
# Language features specs
set :language, [
'spec/ruby/language',
'spec/language'
]
# Core library specs
set :core, [
'spec/ruby/core',
'spec/core',
]
# Standard library specs
set :library, [
'spec/ruby/library',
'spec/library',
# obsolete libraries
'^library/cgi-lib',
'^library/date2',
'^library/enumerator',
'^library/eregex',
'^library/finalize',
'^library/ftools',
'^library/generator',
'^library/getopts',
'^library/importenv',
'^library/jcode',
'^library/mailread',
'^library/parsearg',
'^library/parsedate',
'^library/ping',
'^library/readbytes',
'^library/rubyunit',
'^library/runit',
'^library/soap',
'^library/wsdl',
'^library/xsd',
'^library/Win32API',
'^library/test/unit/collector',
'^library/test/unit/ui',
'^library/test/unit/util',
'^library/dl', # reimplemented and API changed
]
# An ordered list of the directories containing specs to run
set :files, get(:language) + get(:core) + get(:library) +
get(:capi) + get(:compiler) + get(:build) + get(:command_line)
set :ruby, [
'spec/ruby/language',
'spec/ruby/core',
'spec/ruby/library',
# obsolete libraries
'^library/cgi-lib',
'^library/date2',
'^library/enumerator',
'^library/eregex',
'^library/finalize',
'^library/ftools',
'^library/generator',
'^library/getopts',
'^library/importenv',
'^library/jcode',
'^library/mailread',
'^library/parsearg',
'^library/parsedate',
'^library/ping',
'^library/readbytes',
'^library/rubyunit',
'^library/runit',
'^library/soap',
'^library/wsdl',
'^library/xsd',
'^library/Win32API',
'^library/test/unit/collector',
'^library/test/unit/ui',
'^library/test/unit/util',
'^library/dl', # reimplemented and API changed
]
# An ordered list of the directories containing specs to run
# as the CI process.
set :ci_files, [
'spec/ruby/core',
'spec/ruby/language',
'spec/ruby/command_line',
'spec/core',
'spec/language',
'spec/compiler',
'spec/command_line',
'spec/ruby/optional/capi',
'spec/ruby/library',
'spec/library',
'spec/build',
# Excluded while building out basic 1.9 infrastructure
'^spec/ruby/core/basicobject/basic_object_class',
'^spec/ruby/core/basicobject/metaclass',
'^spec/ruby/core/encoding/default_internal',
'^spec/ruby/core/kernel/define_singleton_method',
'^spec/ruby/core/method/parameters',
'^spec/ruby/core/module/name',
'^spec/ruby/core/numeric/to_c',
'^spec/ruby/core/proc/parameters',
'^spec/ruby/language/array',
'^spec/ruby/language/block',
'^spec/ruby/language/case',
'^spec/ruby/language/literal_lambda',
'^spec/ruby/language/method',
'^spec/ruby/language/symbol',
'^spec/ruby/language/variables',
'^spec/ruby/command_line/dash_e',
# Excluded because the specs are extremely system dependent.
'^spec/ruby/library/syslog',
# obsolete libraries
'^library/cgi-lib',
'^library/date2',
'^library/enumerator',
'^library/eregex',
'^library/finalize',
'^library/ftools',
'^library/generator',
'^library/getopts',
'^library/importenv',
'^library/jcode',
'^library/mailread',
'^library/parsearg',
'^library/parsedate',
'^library/ping',
'^library/readbytes',
'^library/rubyunit',
'^library/runit',
'^library/soap',
'^library/wsdl',
'^library/xsd',
'^library/Win32API',
'^library/test/unit/collector',
'^library/test/unit/ui',
'^library/test/unit/util',
'^library/dl', # reimplemented and API changed
]
# The set of substitutions to transform a spec filename
# into a tag filename.
set :tags_patterns, [
[%r(spec/), 'spec/tags/20/'],
[/_spec.rb$/, '_tags.txt']
]
# Enable language features
MSpec.enable_feature :encoding
# These are encoding-aware methods backported to 1.8.7+ (eg String#bytes)
MSpec.enable_feature :encoding_transition
if Rubinius::Config["hash.hamt"]
MSpec.enable_feature :hash_hamt
else
MSpec.enable_feature :hash_bucket
end
end