Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 121 lines (103 sloc) 3.038 kb
a683c78 @brixen Version specific mspec config files.
brixen authored
1 # vim: filetype=ruby
2
3 class MSpecScript
4 # Language features specs
5 set :language, [
6 'spec/ruby/language',
7 'spec/language'
8 ]
9
10 # Core library specs
11 set :core, [
12 'spec/ruby/core',
13 'spec/core',
14
15 # 1.9
16 '^core/basicobject'
17 ]
18
19 # Standard library specs
20 set :library, [
21 'spec/ruby/library',
22 'spec/library',
23
24 # 1.9 features
25 '^library/cmath',
26 '^library/continuation',
27 '^library/coverage',
28 '^library/fiber',
29 '^library/json',
30 '^library/minitest',
31 '^library/prime',
32 '^library/ripper',
33 '^library/rake',
34 '^library/rubygems',
35 ]
36
a0dfa0d @brixen Exclude C-API encoding specs from 1.8 CI.
brixen authored
37 set :capi, [
38 '^spec/ruby/optional/capi/encoding',
39 ]
40
a683c78 @brixen Version specific mspec config files.
brixen authored
41 # An ordered list of the directories containing specs to run
42 set :files, get(:language) + get(:core) + get(:library) +
43 get(:capi) + get(:compiler) + get(:build) + get(:command_line)
44
45 set :ruby, [
46 'spec/ruby/language',
47 'spec/ruby/core',
48 'spec/ruby/library',
49
50 # 1.9 features
51 '^spec/ruby/core/basicobject',
52 '^spec/ruby/library/cmath',
53 '^spec/ruby/library/continuation',
54 '^spec/ruby/library/coverage',
55 '^spec/ruby/library/fiber',
56 '^spec/ruby/library/json',
57 '^spec/ruby/library/minitest',
58 '^spec/ruby/library/prime',
59 '^spec/ruby/library/ripper',
60 '^spec/ruby/library/rake',
61 '^spec/ruby/library/rubygems',
62 ]
63
64 # An ordered list of the directories containing specs to run
65 # as the CI process.
66 set :ci_files, [
67 'spec/ruby/core',
68 'spec/ruby/language',
69 'spec/ruby/command_line',
70 'spec/core',
71 'spec/language',
72 'spec/compiler',
73 'spec/command_line',
74 'spec/ruby/optional/capi',
75 'spec/ruby/library',
76 'spec/library',
77
78 'spec/build',
79
80 # Excluded because the specs are extremely system dependent.
81 '^spec/ruby/library/syslog',
82
83 # 1.9 features
04c2b72 @brixen Merge remote-tracking branch 'origin/master' into hydra
brixen authored
84 '^spec/ruby/core/basicobject',
a683c78 @brixen Version specific mspec config files.
brixen authored
85 '^spec/ruby/library/cmath',
86 '^spec/ruby/library/continuation',
87 '^spec/ruby/library/coverage',
88 '^spec/ruby/library/fiber',
89 '^spec/ruby/library/json',
90 '^spec/ruby/library/minitest',
91 '^spec/ruby/library/prime',
92 '^spec/ruby/library/ripper',
93 '^spec/ruby/library/rake',
94 '^spec/ruby/library/rubygems',
a0dfa0d @brixen Exclude C-API encoding specs from 1.8 CI.
brixen authored
95 '^spec/ruby/optional/capi/encoding',
a683c78 @brixen Version specific mspec config files.
brixen authored
96 ]
97
98
99 # The set of substitutions to transform a spec filename
100 # into a tag filename.
101 set :tags_patterns, [
102 [%r(spec/), 'spec/tags/18/'],
103 [/_spec.rb$/, '_tags.txt']
104 ]
105
106 # Enable language features
ec8d495 @brixen Update rbx-specific mspec config files.
brixen authored
107 if Rubinius::Config["hash.hamt"]
108 MSpec.enable_feature :hash_hamt
109 else
110 MSpec.enable_feature :hash_bucket
a683c78 @brixen Version specific mspec config files.
brixen authored
111 end
112
113 # The Readline specs are not enabled by default because the functionality
114 # depends heavily on the underlying library, including whether certain
115 # methods are implemented or not. This makes it extremely difficult to
116 # make the specs consistently pass. Until a suitable scheme to handle
117 # all these issues, the specs will not be enabled by default.
118 #
119 # MSpec.enable_feature :readline
120 end
Something went wrong with that request. Please try again.