[前][次][番号順一覧][スレッド一覧]

ruby-changes:51890

From: nobu <ko1@a...>
Date: Sun, 29 Jul 2018 20:00:08 +0900 (JST)
Subject: [ruby-changes:51890] nobu:r64104 (trunk): common.mk: install for test-all iff load-relative is disabled

nobu	2018-07-29 20:00:02 +0900 (Sun, 29 Jul 2018)

  New Revision: 64104

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64104

  Log:
    common.mk: install for test-all iff load-relative is disabled

  Modified files:
    trunk/common.mk
Index: common.mk
===================================================================
--- common.mk	(revision 64103)
+++ common.mk	(revision 64104)
@@ -732,12 +732,13 @@ no-test-testframework: PHONY https://github.com/ruby/ruby/blob/trunk/common.mk#L732
 test-sample: test-basic # backward compatibility for mswin-build
 test: btest-ruby test-knownbug test-basic
 
+INPLACE_TEST = $(LIBRUBY_RELATIVE:yes=)
 # $ make test-all TESTOPTS="--help" displays more detail
 # for example, make test-all TESTOPTS="-j2 -v -n test-name -- test-file-name"
 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
 # 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)
 TESTS_BUILD = mkmf
 no-test-all: PHONY

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]