File tree Expand file tree Collapse file tree 4 files changed +20
-8
lines changed
Expand file tree Collapse file tree 4 files changed +20
-8
lines changed Original file line number Diff line number Diff line change 3838 - test_task : ' ruby' # build test for combo build
3939 configure : ' --enable-yjit --enable-zjit'
4040
41- - test_task : ' test-all'
41+ - test_task : ' zjit- test-all'
4242 configure : ' --enable-zjit=dev'
43- tests : ' ../src/test/ruby/test_zjit.rb'
4443
4544 - test_task : ' btest'
4645 configure : ' --enable-zjit=dev'
Original file line number Diff line number Diff line change 4040 - test_task : ' zjit-test'
4141 configure : ' --enable-yjit --enable-zjit=dev'
4242
43- - test_task : ' test-all'
43+ - test_task : ' zjit- test-all'
4444 configure : ' --enable-zjit=dev'
45- tests : ' ../src/test/ruby/test_zjit.rb'
4645
4746 - test_task : ' btest'
4847 configure : ' --enable-zjit=dev'
Original file line number Diff line number Diff line change @@ -28,12 +28,12 @@ in a way that can be easily shared with other team members.
2828
2929Make sure you have a ` --enable-zjit=dev ` build, and run ` brew install cargo-nextest ` first.
3030
31- ### make zjit-test-all
31+ ### make zjit-check
3232
3333This command runs all ZJIT tests: ` make zjit-test ` and ` test/ruby/test_zjit.rb ` .
3434
3535```
36- make zjit-test-all
36+ make zjit-check
3737```
3838
3939### make zjit-test
@@ -78,6 +78,16 @@ use `make`.
7878
7979</details >
8080
81+ ### make zjit-test-all
82+
83+ ```
84+ make zjit-test-all
85+ ```
86+
87+ This command runs all Ruby tests under ` /test/ruby/ ` with ZJIT enabled.
88+
89+ Certain tests are excluded under ` /test/.excludes-zjit ` .
90+
8191### test/ruby/test\_ zjit.rb
8292
8393This command runs Ruby execution tests.
Original file line number Diff line number Diff line change @@ -49,11 +49,15 @@ update-zjit-bench:
4949 https://github.com/Shopify/zjit-bench zjit-bench $(GIT_OPTS )
5050
5151# Gives quick feedback about ZJIT. Not a replacement for a full test run.
52- .PHONY : zjit-test-all
53- zjit-test-all :
52+ .PHONY : zjit-check
53+ zjit-check :
5454 $(MAKE ) zjit-test
5555 $(MAKE ) test-all TESTS=' $(top_srcdir)/test/ruby/test_zjit.rb'
5656
57+ .PHONY : zjit-test-all
58+ zjit-test-all :
59+ $(MAKE ) test-all RUST_BACKTRACE=1 TEST_EXCLUDES=' --excludes-dir=$(top_srcdir)/test/.excludes-zjit --name=!/memory_leak/' RUN_OPTS=' --zjit-call-threshold=1' TESTS=' $(top_srcdir)/test/ruby/'
60+
5761ZJIT_BINDGEN_DIFF_OPTS =
5862
5963# Generate Rust bindings. See source for details.
You can’t perform that action at this time.
0 commit comments