summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-07-01 21:05:55 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2019-07-02 07:59:54 +0900
commitc68781e9181cb43af1bac29b3c974887205c3bf3 (patch)
tree34019fe4147362f117fdc0b23d2b3533a956ccb5 /common.mk
parentc3c0e3f5c9444c197779cb242de46dfffda79dec (diff)
Split test files for test-framework that are test-unit and minitest to tool direcotry.
Diffstat (limited to 'common.mk')
-rwxr-xr-xcommon.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index 839354118a..a48e1c8c3f 100755
--- a/common.mk
+++ b/common.mk
@@ -185,6 +185,7 @@ INSTALL_PROG_MODE = 0755
INSTALL_DATA_MODE = 0644
TESTSDIR = $(srcdir)/test
+TOOL_TESTSDIR = ${srcdir}/tool/test
TEST_EXCLUDES = --excludes-dir=$(TESTSDIR)/excludes --name=!/memory_leak/
EXCLUDE_TESTFRAMEWORK = --exclude=/testunit/ --exclude=/minitest/
TESTWORKDIR = testwork
@@ -753,7 +754,7 @@ yes-test-knownbug: prog PHONY
test-testframework: $(TEST_RUNNABLE)-test-testframework
yes-test-testframework: prog PHONY
- $(gnumake_recursive)$(Q)$(exec) $(RUNRUBY) "$(srcdir)/test/runner.rb" --ruby="$(RUNRUBY)" $(TESTOPTS) testunit minitest
+ $(gnumake_recursive)$(Q)$(exec) $(RUNRUBY) "$(srcdir)/test/runner.rb" --ruby="$(RUNRUBY)" --basedir=${TOOL_TESTSDIR} $(TESTOPTS) testunit minitest
no-test-testframework: PHONY
test-sample: test-basic # backward compatibility for mswin-build