8000 * common.mk: separated test for test-framework from test-all task. · documenting-ruby/ruby@3d86c47 · GitHub
[go: up one dir, main page]

Skip to content 8000

Commit 3d86c47

Browse files
committed
* common.mk: separated test for test-framework from test-all task.
They should be invoke at first before tests of test-all. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@51888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent e9edce8 commit 3d86c47

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Thu Sep 17 17:42:09 2015 SHIBATA Hiroshi <hsbt@ruby-lang.org>
2+
3+
* common.mk: separated test for test-framework from test-all task.
4+
They should be invoke at first before tests of test-all.
5+
16
Thu Sep 17 12:05:54 2015 KOSAKI Motohiro <kosaki.motohiro@gmail.com>
27

38
* test/ruby/test_dir.rb (TestDir#test_fileno): s/?x/"x"/. Don't

common.mk

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ PRE_LIBRUBY_UPDATE = $(MINIRUBY) -e 'ARGV[1] or File.unlink(ARGV[0]) rescue nil'
143143
$(LIBRUBY_EXTS) $(LIBRUBY_SO_UPDATE)
144144

145145
TESTSDIR = $(srcdir)/test
146-
TEST_EXCLUDES = --excludes=$(TESTSDIR)/excludes -x /memory_leak/
146+
TEST_EXCLUDES = --excludes=$(TESTSDIR)/excludes -x /testunit/ -x /minitest/ -x /memory_leak/
147147
TESTWORKDIR = testwork
148148
TESTOPTS = $(RUBY_TESTOPTS)
149149

@@ -578,9 +578,14 @@ no-test-knownbug: PHONY
578578
yes-test-knownbug: prog PHONY
579579
-$(exec) $(RUNRUBY) "$(srcdir)/bootstraptest/runner.rb" --ruby="$(PROGRAM) $(RUN_OPTS)" $(OPTS) $(TESTOPTS) $(srcdir)/KNOWNBUGS.rb
580580

581+
test-testframework: $(TEST_RUNNABLE)-test-testframework
582+
no-test-testframework: PHONY
583+
yes-test-testframework: prog PHONY
584+
$(Q)$(exec) $(RUNRUBY) "$(srcdir)/test/runner.rb" --ruby="$(RUNRUBY)" $(TESTOPTS) test/testunit test/minitest
585+
581586
test: test-sample btest-ruby test-knownbug
582587

583-
test-all: $(TEST_RUNNABLE)-test-all
588+
test-all: test-testframework $(TEST_RUNNABLE)-test-all
584589
yes-test-all: prog PHONY
585590
$(Q)$(exec) $(RUNRUBY) "$(srcdir)/test/runner.rb" --ruby="$(RUNRUBY)" $(TEST_EXCLUDES) $(TESTOPTS) $(TESTS)
586591
TESTS_BUILD = mkmf

0 commit comments

Comments
 (0)
0