forked from rubinius/rubinius
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathrbx.1.8.mspec
134 lines (116 loc) · 3.56 KB
/
rbx.1.8.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
# 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',
# 1.9
'^core/basicobject'
]
# Standard library specs
set :library, [
'spec/ruby/library',
'spec/library',
# 1.9 features
'^library/cmath',
'^library/continuation',
'^library/coverage',
'^library/fiber',
'^library/json',
'^library/minitest',
'^library/prime',
'^library/ripper',
'^library/rake',
'^library/rubygems',
]
set :capi, [
'^spec/ruby/optional/capi/encoding',
]
# 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',
# 1.9 features
'^spec/ruby/core/basicobject',
'^spec/ruby/library/cmath',
'^spec/ruby/library/continuation',
'^spec/ruby/library/coverage',
'^spec/ruby/library/fiber',
'^spec/ruby/library/json',
'^spec/ruby/library/minitest',
'^spec/ruby/library/prime',
'^spec/ruby/library/ripper',
'^spec/ruby/library/rake',
'^spec/ruby/library/rubygems',
]
# 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/optional/ffi',
'spec/ruby/library',
'spec/library',
'spec/build',
# Excluded because the specs are extremely system dependent.
'^spec/ruby/library/syslog',
# Excluded because they fail to load at the moment
'^spec/ruby/optional/ffi/buffer_spec.rb',
'^spec/ruby/optional/ffi/callback_spec.rb',
'^spec/ruby/optional/ffi/custom_type_spec.rb',
'^spec/ruby/optional/ffi/ffi_spec.rb',
'^spec/ruby/optional/ffi/function_spec.rb',
'^spec/ruby/optional/ffi/number_spec.rb',
'^spec/ruby/optional/ffi/pointer_spec.rb',
'^spec/ruby/optional/ffi/strptr_spec.rb',
'^spec/ruby/optional/ffi/struct_initialize_spec.rb',
'^spec/ruby/optional/ffi/struct_spec.rb',
'^spec/ruby/optional/ffi/variadic_spec.rb',
# 1.9 features
'^spec/ruby/core/basicobject',
'^spec/ruby/library/cmath',
'^spec/ruby/library/continuation',
'^spec/ruby/library/coverage',
'^spec/ruby/library/fiber',
'^spec/ruby/library/json',
'^spec/ruby/library/minitest',
'^spec/ruby/library/prime',
'^spec/ruby/library/ripper',
'^spec/ruby/library/rake',
'^spec/ruby/library/rubygems',
'^spec/ruby/optional/capi/encoding',
]
# The set of substitutions to transform a spec filename
# into a tag filename.
set :tags_patterns, [
[%r(spec/), 'spec/tags/18/'],
[/_spec.rb$/, '_tags.txt']
]
# Enable language features
if Rubinius::Config["hash.hamt"]
MSpec.enable_feature :hash_hamt
else
MSpec.enable_feature :hash_bucket
end
# The Readline specs are not enabled by default because the functionality
# depends heavily on the underlying library, including whether certain
# methods are implemented or not. This makes it extremely difficult to
# make the specs consistently pass. Until a suitable scheme to handle
# all these issues, the specs will not be enabled by default.
#
# MSpec.enable_feature :readline
end