Skip to content

Commit

Permalink
Clarify make implementation support
Browse files Browse the repository at this point in the history
  • Loading branch information
amomchilov committed Dec 13, 2024
1 parent 7c4421c commit 7cd1807
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions doc/contributing/testing_ruby.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

All the commands below assume that you're running them from the `build/` directory made during [Building Ruby](building_ruby.md).

Most commands below should work with [GNU make](https://www.gnu.org/software/make/) (the default on Linux and macOS), [BSD make](https://man.freebsd.org/cgi/man.cgi?make(1)) and [NMAKE](https://learn.microsoft.com/en-us/cpp/build/reference/nmake-reference), except where indicated otherwise.

## Test suites

There are several test suites in the Ruby codebase:
Expand Down Expand Up @@ -41,7 +43,7 @@ We can run any of the make scripts [in parallel](building_ruby.md#label-Running+
make test OPTS=-v
```

To run a specific file with GNU make, we can use:
(GNU make only) To run a specific file, we can use:

```sh
make ../test/ruby/test_string.rb
Expand Down Expand Up @@ -120,7 +122,7 @@ We can run any of the make scripts [in parallel](building_ruby.md#label-Running+
make test-spec SPECOPTS="../spec/ruby/core/string/to_s_spec.rb -Vfs"
```

To run a ruby-spec file or directory with GNU make, we can use
(GNU make only) To run a ruby-spec file or directory, we can use

```sh
make ../spec/ruby/core/string/to_s_spec.rb
Expand Down

0 comments on commit 7cd1807

Please sign in to comment.