ruby-changes:37469
From: nobu <ko1@a...>
Date: Mon, 9 Feb 2015 10:28:48 +0900 (JST)
Subject: [ruby-changes:37469] nobu:r49550 (trunk): TestException.rb: exclude stack overflow tests
nobu 2015-02-09 10:28:32 +0900 (Mon, 09 Feb 2015) New Revision: 49550 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=49550 Log: TestException.rb: exclude stack overflow tests * test/excludes/TestException.rb: exclude machine stack overflow tests by default. Added directories: trunk/test/excludes/ Added files: trunk/test/excludes/TestException.rb Modified files: trunk/common.mk Index: common.mk =================================================================== --- common.mk (revision 49549) +++ common.mk (revision 49550) @@ -143,6 +143,7 @@ PRE_LIBRUBY_UPDATE = $(MINIRUBY) -e 'ARG https://github.com/ruby/ruby/blob/trunk/common.mk#L143 $(LIBRUBY_EXTS) $(LIBRUBY_SO_UPDATE) TESTSDIR = $(srcdir)/test +TEST_EXCLUDES = --excludes=$(TESTSDIR)/excludes TESTWORKDIR = testwork TESTRUN_SCRIPT = $(srcdir)/test.rb @@ -574,7 +575,7 @@ test: test-sample btest-ruby test-knownb https://github.com/ruby/ruby/blob/trunk/common.mk#L575 test-all: $(TEST_RUNNABLE)-test-all yes-test-all: prog PHONY - $(RUNRUBY) "$(srcdir)/test/runner.rb" --ruby="$(RUNRUBY)" $(TESTOPTS) $(TESTS) + $(RUNRUBY) "$(srcdir)/test/runner.rb" --ruby="$(RUNRUBY)" $(TEST_EXCLUDES) $(TESTOPTS) $(TESTS) TESTS_BUILD = mkmf no-test-all: PHONY $(MINIRUBY) -I"$(srcdir)/lib" "$(srcdir)/test/runner.rb" $(TESTOPTS) $(TESTS_BUILD) Index: test/excludes/TestException.rb =================================================================== --- test/excludes/TestException.rb (revision 0) +++ test/excludes/TestException.rb (revision 49550) @@ -0,0 +1,8 @@ https://github.com/ruby/ruby/blob/trunk/test/excludes/TestException.rb#L1 +reason = %[\ +Because machine stack overflow can happen anywhere, even critical +sections including external libraries, it is very neary impossible to +recover from such situation. +] + +exclude /test_machine_stackoverflow/, reason +exclude :test_machine_stackoverflow_by_define_method, reason Property changes on: test/excludes/TestException.rb ___________________________________________________________________ Added: svn:eol-style + LF -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/