Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 110 lines (98 sloc) 5.133 kB
bee6bac @pbm Rake: add targets for running maglev from mspec. Old targets moved t…
pbm authored
1 # -*-ruby-*-
320ae9a @pbm Rework mspec/rubyspec tags and rake tags
pbm authored
2 #
3 # Config file for running RubySpecs / MSpec with MagLev
b328a00 @pbm Add library specs to spec:ci rake target.
pbm authored
4 #
c6524c5 @pbm Work on new rubyspec and mspec
pbm authored
5 class MSpecScript
6e49b1c @pbm Specs: First pass at adding tags to 1.8/core/* specs done. Still nee…
pbm authored
6
320ae9a @pbm Rework mspec/rubyspec tags and rake tags
pbm authored
7 # Instead of passing "-t m", this sets the ruby-under-test to maglev-ruby.
8 set :target, File.dirname(__FILE__) + '/bin/maglev-ruby'
9
b328a00 @pbm Add library specs to spec:ci rake target.
pbm authored
10 lang_files = ['spec/rubyspec/language',
1c6614e @timfel tag non-passing specs, so rubyspec runs through again
timfel authored
11 "^spec/rubyspec/language/array_spec.rb",
12 "^spec/rubyspec/language/case_spec.rb",
f1a777b @timfel skip files that produce syntax errors
timfel authored
13 "^spec/rubyspec/language/ensure_spec.rb",
1c6614e @timfel tag non-passing specs, so rubyspec runs through again
timfel authored
14 "^spec/rubyspec/language/literal_lambda_spec.rb",
b328a00 @pbm Add library specs to spec:ci rake target.
pbm authored
15 "^spec/rubyspec/language/for_spec.rb",
7dc646d @pbm Tag rubyspecs for final release
pbm authored
16 "^spec/rubyspec/language/block_spec.rb",
d5d2d96 @timfel untag remaining failures on my machine
timfel authored
17 "^spec/rubyspec/language/match_spec.rb",
1c6614e @timfel tag non-passing specs, so rubyspec runs through again
timfel authored
18 "^spec/rubyspec/language/send_spec.rb",
7dc646d @pbm Tag rubyspecs for final release
pbm authored
19 "^spec/rubyspec/language/super_spec.rb",
1c6614e @timfel tag non-passing specs, so rubyspec runs through again
timfel authored
20 "^spec/rubyspec/language/symbol_spec.rb",
7dc646d @pbm Tag rubyspecs for final release
pbm authored
21 "^spec/rubyspec/language/predefined_spec.rb",
22 "^spec/rubyspec/language/break_spec.rb",
1c6614e @timfel tag non-passing specs, so rubyspec runs through again
timfel authored
23 "^spec/rubyspec/language/predefined/data_spec.rb",
24 "^spec/rubyspec/language/variables_spec.rb"]
320ae9a @pbm Rework mspec/rubyspec tags and rake tags
pbm authored
25
b328a00 @pbm Add library specs to spec:ci rake target.
pbm authored
26 core_files = ['spec/rubyspec/core',
1981df0 Updated to latest RubySpecs to fix IPv6 problems
Monty Williams authored
27 "^spec/rubyspec/core/argf/seek_spec.rb",
5bbfb83 @timfel two more tags, run Hash#each specs
timfel authored
28 "^spec/rubyspec/core/basicobject/",
f8728e0 @timfel enable encoding feature, and tag specs that fail
timfel authored
29 "^spec/rubyspec/core/encoding/converter/",
7dc646d @pbm Tag rubyspecs for final release
pbm authored
30 "^spec/rubyspec/core/fixnum/right_shift_spec.rb",
1c6614e @timfel tag non-passing specs, so rubyspec runs through again
timfel authored
31 "^spec/rubyspec/core/kernel/define_singleton_method_spec.rb",
32 "^spec/rubyspec/core/method/parameters_spec.rb",
d5d2d96 @timfel untag remaining failures on my machine
timfel authored
33 "^spec/rubyspec/core/module/define_method_spec.rb",
1c6614e @timfel tag non-passing specs, so rubyspec runs through again
timfel authored
34 "^spec/rubyspec/core/numeric/to_c_spec.rb",
35 "^spec/rubyspec/core/proc/arity_spec.rb",
36 "^spec/rubyspec/core/proc/parameters_spec.rb",
7dc646d @pbm Tag rubyspecs for final release
pbm authored
37 "^spec/rubyspec/core/process/wait2_spec.rb",
1981df0 Updated to latest RubySpecs to fix IPv6 problems
Monty Williams authored
38 "^spec/rubyspec/core/process/wait_spec.rb",
39 "^spec/rubyspec/core/process/waitall_spec.rb",
5214e58 @pbm Retag specs
pbm authored
40 "^spec/rubyspec/core/string/unpack/a_spec.rb",
d5d2d96 @timfel untag remaining failures on my machine
timfel authored
41 "^spec/rubyspec/core/symbol/encoding_spec.rb",
42 "^spec/rubyspec/core/symbol/length_spec.rb",
43 "^spec/rubyspec/core/symbol/size_spec.rb",
f1a777b @timfel skip files that produce syntax errors
timfel authored
44 "^spec/rubyspec/core/thread/abort_on_exception_spec.rb",
2b7e4a9 @timfel include specs in run that work on my machine
timfel authored
45 "^spec/rubyspec/core/thread/wakeup_spec.rb"]
320ae9a @pbm Rework mspec/rubyspec tags and rake tags
pbm authored
46
b328a00 @pbm Add library specs to spec:ci rake target.
pbm authored
47 lib_files = ['spec/rubyspec/library',
1c6614e @timfel tag non-passing specs, so rubyspec runs through again
timfel authored
48 "^spec/rubyspec/library/erb/new_spec.rb",
0ce4ad2 @timfel bring in easy stuff from rubinius
timfel authored
49 "^spec/rubyspec/library/syslog/mask_spec.rb",
b328a00 @pbm Add library specs to spec:ci rake target.
pbm authored
50 "^spec/rubyspec/library/zlib/inflate/append_spec.rb",
51 "^spec/rubyspec/library/zlib/inflate/inflate_spec.rb"]
320ae9a @pbm Rework mspec/rubyspec tags and rake tags
pbm authored
52
5486c00 @timfel add tags and env-options to run CAPI and FFI specs
timfel authored
53 cmdline_files = ['spec/rubyspec/command_line',
54 '^spec/rubyspec/dash_a_spec.rb']
55
56 ffi_files = ["spec/rubyspec/optional/ffi",
57 "^spec/rubyspec/optional/ffi/async_callback_spec.rb",
58 "^spec/rubyspec/optional/ffi/bool_spec.rb",
59 "^spec/rubyspec/optional/ffi/callback_spec.rb",
60 "^spec/rubyspec/optional/ffi/custom_type_spec.rb",
61 "^spec/rubyspec/optional/ffi/enum_spec.rb",
62 "^spec/rubyspec/optional/ffi/errno_spec.rb",
63 "^spec/rubyspec/optional/ffi/ffi_spec.rb",
64 "^spec/rubyspec/optional/ffi/function_spec.rb",
65 "^spec/rubyspec/optional/ffi/managed_struct_spec.rb",
66 "^spec/rubyspec/optional/ffi/number_spec.rb",
67 "^spec/rubyspec/optional/ffi/pointer_spec.rb",
68 "^spec/rubyspec/optional/ffi/rbx/",
69 "^spec/rubyspec/optional/ffi/string_spec.rb",
70 "^spec/rubyspec/optional/ffi/strptr_spec.rb",
71 "^spec/rubyspec/optional/ffi/struct_initialize_spec.rb",
72 "^spec/rubyspec/optional/ffi/struct_spec.rb",
73 "^spec/rubyspec/optional/ffi/union_spec.rb",
74 "^spec/rubyspec/optional/ffi/variadic_spec.rb"]
75
76 capi_files = ["spec/rubyspec/optional/capi",
77 "^spec/rubyspec/optional/capi/class_spec.rb",
78 "^spec/rubyspec/optional/capi/data_spec.rb",
79 "^spec/rubyspec/optional/capi/encoding_spec.rb",
80 "^spec/rubyspec/optional/capi/io_spec.rb",
81 "^spec/rubyspec/optional/capi/regexp_spec.rb",
82 "^spec/rubyspec/optional/capi/struct_spec.rb",
83 "^spec/rubyspec/optional/capi/thread_spec.rb"]
385203d @timfel run socket specs
timfel authored
84
85 # On Orpheus and Grace, these used to fail. Possible add them
86 # conditionally based on ENV var
87 #
88 # "^spec/rubyspec/library/socket"
89
5486c00 @timfel add tags and env-options to run CAPI and FFI specs
timfel authored
90 if ENV["CAPI_SPECS"] == "1"
91 set :files, capi_files
92 elsif ENV["FFI_SPECS"] == "1"
93 set :files, ffi_files
94 else
4b4639a @timfel bump rubyspecs, run ffi_specs by default
timfel authored
95 set :files, lang_files + core_files + lib_files + cmdline_files + ffi_files
5486c00 @timfel add tags and env-options to run CAPI and FFI specs
timfel authored
96 end
2711b07 @pbm New spec config file and rake tasks
pbm authored
97
3941a8d @timfel fix running continuations in rubyspecs
timfel authored
98 MSpec.enable_feature :fiber_library
99 MSpec.enable_feature :continuation_library
f8728e0 @timfel enable encoding feature, and tag specs that fail
timfel authored
100 MSpec.enable_feature :encoding
3941a8d @timfel fix running continuations in rubyspecs
timfel authored
101
2711b07 @pbm New spec config file and rake tasks
pbm authored
102 # The set of substitutions to transform a spec filename into a tag
103 # filename. The transformations are applied, in the given sequence, to a
104 # filename, yielding a tag file name.
343e431 Corrected erroneous tag rename
Monty Williams authored
105 set :tags_patterns, [
106 [%r(spec/rubyspec/), 'spec/tags/'],
107 [/_spec.rb$/, '_tags.txt']
108 ]
bee6bac @pbm Rake: add targets for running maglev from mspec. Old targets moved t…
pbm authored
109 end
Something went wrong with that request. Please try again.