1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

[DOC] Added GNU make specific targets [ci skip]

This commit is contained in:
Nobuyoshi Nakada 2020-04-24 18:32:07 +09:00
parent 04a55763fa
commit 5b8c36dfb2
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6

View file

@ -69,6 +69,12 @@ $ make test-all TESTS=ruby/foo
$ make test-all TESTS="test/ruby/test_foo.rb -n /test_bar/"
```
### Runs a file or directory with GNU make
```
$ make test/ruby/test_foo.rb
$ make test/ruby/test_foo.rb TESTOPTS="-n /test_bar/"
```
### Runs a ruby-spec directory
```
$ make test-spec MSPECOPT=spec/ruby/core/foo
@ -79,6 +85,11 @@ $ make test-spec MSPECOPT=spec/ruby/core/foo
$ make test-spec MSPECOPT=spec/ruby/core/foo/bar_spec.rb
```
### Runs a ruby-spec file or directory with GNU make
```
$ make spec/ruby/core/foo/bar_spec.rb
```
### Runs a bundler spec file
```
$ make test-bundler BUNDLER_SPECS=commands/exec_spec.rb:58