Allow testing a different version
This commit is contained in:
parent
08413f982c
commit
8286eed20b
@ -86,11 +86,13 @@ update-yjit-bench:
|
|||||||
$(Q) $(tooldir)/git-refresh -C $(srcdir) --branch main \
|
$(Q) $(tooldir)/git-refresh -C $(srcdir) --branch main \
|
||||||
https://github.com/Shopify/yjit-bench yjit-bench $(GIT_OPTS)
|
https://github.com/Shopify/yjit-bench yjit-bench $(GIT_OPTS)
|
||||||
|
|
||||||
|
RUST_VERSION = +1.58.0
|
||||||
|
|
||||||
# Gives quick feedback about YJIT. Not a replacement for a full test run.
|
# Gives quick feedback about YJIT. Not a replacement for a full test run.
|
||||||
.PHONY: yjit-smoke-test
|
.PHONY: yjit-smoke-test
|
||||||
yjit-smoke-test:
|
yjit-smoke-test:
|
||||||
ifneq ($(strip $(CARGO)),)
|
ifneq ($(strip $(CARGO)),)
|
||||||
$(CARGO) +1.58.0 test --all-features -q --manifest-path='$(top_srcdir)/yjit/Cargo.toml'
|
$(CARGO) $(RUST_VERSION) test --all-features -q --manifest-path='$(top_srcdir)/yjit/Cargo.toml'
|
||||||
endif
|
endif
|
||||||
$(MAKE) btest RUN_OPTS='--yjit-call-threshold=1' BTESTS=-j
|
$(MAKE) btest RUN_OPTS='--yjit-call-threshold=1' BTESTS=-j
|
||||||
$(MAKE) test-all TESTS='$(top_srcdir)/test/ruby/test_yjit.rb'
|
$(MAKE) test-all TESTS='$(top_srcdir)/test/ruby/test_yjit.rb'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user