-
Notifications
You must be signed in to change notification settings - Fork 85
/
topaz.mspec
82 lines (75 loc) · 2.6 KB
/
topaz.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
class MSpecScript
Topaz = File.expand_path(File.dirname(__FILE__))
Rubyspec = File.expand_path("spec/rubyspec", File.dirname(__FILE__))
MSpec.enable_feature :fiber
MSpec.enable_feature :fork
MSpec.enable_feature :encoding
core = [
"#{Rubyspec}/core/",
# socket: ``require 'socket'``
"^#{Rubyspec}/core/file/socket_spec.rb",
# socket: ``require 'etc'``
"^#{Rubyspec}/core/io/advise_spec.rb",
]
language = ["#{Rubyspec}/language"]
command_line = ["#{Rubyspec}/command_line"]
library = [
"#{Rubyspec}/library",
"^#{Rubyspec}/library/abbrev/abbrev_spec.rb",
"^#{Rubyspec}/library/logger/application/new_spec.rb",
"^#{Rubyspec}/library/base64/",
"^#{Rubyspec}/library/bigdecimal/",
"^#{Rubyspec}/library/bigmath/log_spec.rb",
"^#{Rubyspec}/library/cgi/",
"^#{Rubyspec}/library/complex/",
"^#{Rubyspec}/library/conditionvariable/",
"^#{Rubyspec}/library/coverage/",
"^#{Rubyspec}/library/csv/",
"^#{Rubyspec}/library/date/",
"^#{Rubyspec}/library/datetime/",
"^#{Rubyspec}/library/delegate/",
"^#{Rubyspec}/library/digest/",
"^#{Rubyspec}/library/drb/",
"^#{Rubyspec}/library/erb/",
"^#{Rubyspec}/library/etc/",
"^#{Rubyspec}/library/expect/expect_spec.rb",
"^#{Rubyspec}/library/find/",
"^#{Rubyspec}/library/getoptlong/",
"^#{Rubyspec}/library/ipaddr/",
"^#{Rubyspec}/library/logger/",
"^#{Rubyspec}/library/mathn/",
"^#{Rubyspec}/library/matrix/",
"^#{Rubyspec}/library/net/",
"^#{Rubyspec}/library/observer/",
"^#{Rubyspec}/library/open3/",
"^#{Rubyspec}/library/openssl/",
"^#{Rubyspec}/library/openstruct/",
"^#{Rubyspec}/library/pathname/",
"^#{Rubyspec}/library/prime/",
"^#{Rubyspec}/library/resolv/",
"^#{Rubyspec}/library/rexml/",
"^#{Rubyspec}/library/scanf/",
"^#{Rubyspec}/library/securerandom/",
"^#{Rubyspec}/library/set/",
"^#{Rubyspec}/library/shellwords/",
"^#{Rubyspec}/library/singleton/",
"^#{Rubyspec}/library/socket/",
"^#{Rubyspec}/library/stringio/",
"^#{Rubyspec}/library/stringscanner/",
"^#{Rubyspec}/library/syslog/",
"^#{Rubyspec}/library/tempfile/",
"^#{Rubyspec}/library/time/",
"^#{Rubyspec}/library/timeout/",
"^#{Rubyspec}/library/tmpdir/",
"^#{Rubyspec}/library/uri/",
"^#{Rubyspec}/library/weakref/",
"^#{Rubyspec}/library/win32ole/",
"^#{Rubyspec}/library/yaml/",
"^#{Rubyspec}/library/zlib/"
]
set :tags_patterns, [
[/#{Rubyspec}/, "#{Topaz}/spec/tags"],
[/_spec.rb$/, '_tags.txt']
]
set :files, core + language + library + command_line
end