Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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