mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
common.mk: install for test-all iff load-relative is disabled
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b4705a52d6
commit
93d74cffa0
1 changed files with 2 additions and 1 deletions
|
@ -732,12 +732,13 @@ no-test-testframework: PHONY
|
||||||
test-sample: test-basic # backward compatibility for mswin-build
|
test-sample: test-basic # backward compatibility for mswin-build
|
||||||
test: btest-ruby test-knownbug test-basic
|
test: btest-ruby test-knownbug test-basic
|
||||||
|
|
||||||
|
INPLACE_TEST = $(LIBRUBY_RELATIVE:yes=)
|
||||||
# $ make test-all TESTOPTS="--help" displays more detail
|
# $ make test-all TESTOPTS="--help" displays more detail
|
||||||
# for example, make test-all TESTOPTS="-j2 -v -n test-name -- test-file-name"
|
# for example, make test-all TESTOPTS="-j2 -v -n test-name -- test-file-name"
|
||||||
test-all: $(TEST_RUNNABLE)-test-all
|
test-all: $(TEST_RUNNABLE)-test-all
|
||||||
# `make test-all` depends on `make install`: Since r62262, test_jit.rb fails if installed MJIT header is not updated
|
# `make test-all` depends on `make install`: Since r62262, test_jit.rb fails if installed MJIT header is not updated
|
||||||
# and --enable-load-relative is not specified. We don't have solution for this yet. See also: https://bugs.ruby-lang.org/issues/13620
|
# and --enable-load-relative is not specified. We don't have solution for this yet. See also: https://bugs.ruby-lang.org/issues/13620
|
||||||
yes-test-all: programs install PHONY
|
yes-test-all: programs $(INPLACE_TEST:no=install) PHONY
|
||||||
$(gnumake_recursive)$(Q)$(exec) $(RUNRUBY) "$(srcdir)/test/runner.rb" --ruby="$(RUNRUBY)" $(TEST_EXCLUDES) $(TESTOPTS) $(TESTS)
|
$(gnumake_recursive)$(Q)$(exec) $(RUNRUBY) "$(srcdir)/test/runner.rb" --ruby="$(RUNRUBY)" $(TEST_EXCLUDES) $(TESTOPTS) $(TESTS)
|
||||||
TESTS_BUILD = mkmf
|
TESTS_BUILD = mkmf
|
||||||
no-test-all: PHONY
|
no-test-all: PHONY
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue