13514
|
1 This is a configuration of the RubySpec set of specifications -
|
|
2 http://rubyspec.org. RubySpec is the specifications, and MSpec is the tool to
|
|
3 run them.
|
|
4
|
|
5 Thanks to Brian Shirai and others who have worked on RubySpec.
|
|
6
|
|
7 At the moment we have only configured the version 1.9 specs, and we only run
|
|
8 language and command line specs.
|
|
9
|
|
10 In the `specs` directory (everything we do here will be in the `specs`
|
|
11 directory), you need to clone the MSpec and RubySpec Git repositories:
|
|
12
|
|
13 $ git clone https://github.com/rubyspec/mspec.git
|
|
14 $ git --git-dir=mspec/.git --work-tree=mspec checkout 1343524a06466b7aa0c90798b7894454c8abce0f
|
|
15 $ git clone https://github.com/rubyspec/rubyspec.git
|
|
16 $ git --git-dir=rubyspec/.git --work-tree=rubyspec checkout 926e356b268fe32c67bec43a21565d727360a89b
|
|
17
|
|
18 Then you can run MSpec to run RubySpec. We can run all of the harness in our
|
|
19 implementation, not just as an executable under test.
|
|
20
|
|
21 $ ./rubytruffle mspec/bin/mspec run -t ./rubytruffle --config rubytruffle.mspec --excl-tag fails
|