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 38
38
- test_task : ' ruby' # build test for combo build
39
39
configure : ' --enable-yjit --enable-zjit'
40
40
41
- - test_task : ' test-all'
41
+ - test_task : ' zjit- test-all'
42
42
configure : ' --enable-zjit=dev'
43
- tests : ' ../src/test/ruby/test_zjit.rb'
44
43
45
44
- test_task : ' btest'
46
45
configure : ' --enable-zjit=dev'
Original file line number Diff line number Diff line change 40
40
- test_task : ' zjit-test'
41
41
configure : ' --enable-yjit --enable-zjit=dev'
42
42
43
- - test_task : ' test-all'
43
+ - test_task : ' zjit- test-all'
44
44
configure : ' --enable-zjit=dev'
45
- tests : ' ../src/test/ruby/test_zjit.rb'
46
45
47
46
- test_task : ' btest'
48
47
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.
28
28
29
29
Make sure you have a ` --enable-zjit=dev ` build, and run ` brew install cargo-nextest ` first.
30
30
31
- ### make zjit-test-all
31
+ ### make zjit-check
32
32
33
33
This command runs all ZJIT tests: ` make zjit-test ` and ` test/ruby/test_zjit.rb ` .
34
34
35
35
```
36
- make zjit-test-all
36
+ make zjit-check
37
37
```
38
38
39
39
### make zjit-test
@@ -78,6 +78,16 @@ use `make`.
78
78
79
79
</details >
80
80
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
+
81
91
### test/ruby/test\_ zjit.rb
82
92
83
93
This command runs Ruby execution tests.
Original file line number Diff line number Diff line change @@ -49,11 +49,15 @@ update-zjit-bench:
49
49
https://github.com/Shopify/zjit-bench zjit-bench $(GIT_OPTS )
50
50
51
51
# 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 :
54
54
$(MAKE ) zjit-test
55
55
$(MAKE ) test-all TESTS=' $(top_srcdir)/test/ruby/test_zjit.rb'
56
56
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 --zjit-call-threshold=1' TESTS=' $(top_srcdir)/test/ruby/'
60
+
57
61
ZJIT_BINDGEN_DIFF_OPTS =
58
62
59
63
# Generate Rust bindings. See source for details.
You can’t perform that action at this time.
0 commit comments