File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -287,28 +287,28 @@ cd zjit && cargo insta review
287287
288288Test changes will be reviewed alongside code changes.
289289
290- ### Running integration tests
290+ ### Running smoke tests
291291
292- This command runs Ruby execution tests.
293-
294- ``` bash
295- make test-all TESTS=" test/ruby/test_zjit_cli.rb"
296- ```
297-
298- You can also run a single test case by matching the method name:
292+ Runs both ` make zjit-test ` and ` test/ruby/test_zjit_cli.rb ` :
299293
300294``` bash
301- make test-all TESTS= " test/ruby/test_zjit_cli.rb -n TestZJITCLI#test_enabled "
295+ make zjit-check
302296```
303297
304- ### Running all tests
298+ ### Integration testing
305299
306- Runs both ` make zjit-test ` and ` test/ruby/test_zjit_cli.rb ` :
300+ A thorough test run will want to enable ZJIT on Ruby workloads. Some
301+ test suites written in Ruby in this repository accepts the ` RUN_OPTS `
302+ Make macro for passing ruby(1) command-line arguments:
307303
308304``` bash
309- make zjit-check
305+ make test-all RUN_OPTS=' --zjit-call-threshold=2'
306+ make btest RUN_OPTS=' --zjit-call-threshold=1'
310307```
311308
309+ See [ Testing Ruby] ( rdoc-ref:contributing/testing_ruby.md ) for a list of
310+ test suites.
311+
312312## Statistics Collection
313313
314314ZJIT provides detailed statistics about JIT compilation and execution behavior.
You can’t perform that action at this time.
0 commit comments