diff options
Diffstat (limited to 'doc/contributing/testing_ruby.md')
-rw-r--r-- | doc/contributing/testing_ruby.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/contributing/testing_ruby.md b/doc/contributing/testing_ruby.md index 167ab55c55..8decc24083 100644 --- a/doc/contributing/testing_ruby.md +++ b/doc/contributing/testing_ruby.md @@ -99,28 +99,28 @@ We can run any of the make scripts [in parallel](building_ruby.md#label-Running+ make test-spec ``` - To run a specific directory, we can use `MSPECOPT` to specify the directory: + To run a specific directory, we can use `SPECOPTS` to specify the directory: ``` - make test-spec MSPECOPT=spec/ruby/core/array + make test-spec SPECOPTS=spec/ruby/core/array ``` - To run a specific file, we can also use `MSPECOPT` to specify the file: + To run a specific file, we can also use `SPECOPTS` to specify the file: ``` - make test-spec MSPECOPT=spec/ruby/core/array/any_spec.rb + make test-spec SPECOPTS=spec/ruby/core/array/any_spec.rb ``` To run a specific test, we can use the `--example` flag to match against the test name: ``` - make test-spec MSPECOPT="../spec/ruby/core/array/any_spec.rb --example='is false if the array is empty'" + make test-spec SPECOPTS="../spec/ruby/core/array/any_spec.rb --example='is false if the array is empty'" ``` To run these specs with logs, we can use: ``` - make test-spec MSPECOPT=-Vfs + make test-spec SPECOPTS=-Vfs ``` To run a ruby-spec file or directory with GNU make, we can use |