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

[DOC] Specify ways to run bootstrap tests

This commit is contained in:
Peter Zhu 2022-07-31 17:03:19 -04:00
parent f70b26af47
commit da00243dfe
Notes: git 2022-08-02 22:41:14 +09:00

View file

@ -20,10 +20,11 @@ We can run any of the make scripts [in parallel](building_ruby.md#label-Running+
make btest OPTS=-v make btest OPTS=-v
``` ```
To run an individual bootstrap test, we can set the filename in the environment variable `BTESTS`: To run individual bootstrap tests, we can either specify a list of filenames or use the `--sets` flag in the variable `BTESTS`:
``` ```
make btest BTESTS=bootstraptest/test_gc.rb make btest BTESTS="bootstraptest/test_fork.rb bootstraptest/tes_gc.rb"
make btest BTESTS="--sets=fork,gc"
``` ```
If we want to run the bootstrap test suite on Ruby (not Miniruby), we can use: If we want to run the bootstrap test suite on Ruby (not Miniruby), we can use: