forked from rubinius/rubinius
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.mspec
101 lines (85 loc) · 2.38 KB
/
default.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
require 'spec/custom/utils/script'
class MSpecScript
# Language features specs
set :language, [
'spec/frozen/language',
'spec/language'
]
# Core library specs
set :core, [
'spec/frozen/core',
'spec/core',
# 1.9
'^core/basicobject'
]
# Standard library specs
set :library, [
'spec/frozen/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/capi' ]
set :compiler, [ 'spec/compiler' ]
# An ordered list of the directories containing specs to run
set :files, get(:language) + get(:core) + get(:library) +
get(:capi) + get(:compiler)
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/frozen/core',
'spec/frozen/language',
'spec/core',
'spec/compiler',
'spec/capi/',
'^spec/core/compiledmethod',
'^spec/core/module',
'^spec/capi/globals',
'^spec/capi/language',
'^spec/capi/module',
'^spec/capi/proc',
'^spec/capi/struct',
# These additional directories will be enabled as the
# specs in them are updated for the C++ VM.
# 'spec/debugger',
]
# The set of substitutions to transform a spec filename
# into a tag filename.
set :tags_patterns, [
[%r(spec/ruby/), 'spec/frozen/'],
[%r(spec/), 'spec/tags/'],
[/_spec.rb$/, '_tags.txt']
]
# Prepended to file names when resolving spec files. Enables
# commands like 'bin/mspec core/array' to be equivalent to
# 'bin/mspec spec/frozen/core/array'
set :prefix, 'spec/frozen'
# The default implementation to run the specs.
set :target, 'bin/rbx'
end