summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-24 10:39:30 +0000
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-02-24 10:39:30 +0000
commit7d0cf5205f4afa1e2c7f87c046e8d2856a216af9 (patch)
tree959715d9c95e6937a1d8c0f1f1a935aa5e758c05
parentbeaf4fa25948ba91850720e79ae2fa51912dbb51 (diff)
downloadruby-7d0cf5205f4afa1e2c7f87c046e8d2856a216af9.tar.gz
ruby-7d0cf5205f4afa1e2c7f87c046e8d2856a216af9.tar.xz
ruby-7d0cf5205f4afa1e2c7f87c046e8d2856a216af9.zip
* common.mk: new target "btest", to run bootstraptests.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@11870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--common.mk5
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index f0c60666d..f08d12160 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sat Feb 24 19:39:16 2007 Minero Aoki <aamine@loveruby.net>
+
+ * common.mk: new target "btest", to run bootstraptests.
+
Sat Feb 24 19:30:40 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
* file.c, gc.c, io.c, ruby.h, rubyio.h, win32/win32.h (rb_io_t):
diff --git a/common.mk b/common.mk
index 64ba63c22..e2618db36 100644
--- a/common.mk
+++ b/common.mk
@@ -89,6 +89,8 @@ PRE_LIBRUBY_UPDATE = $(MINIRUBY) -e 'ARGV[1] or File.unlink(ARGV[0]) rescue nil'
TESTSDIR = $(srcdir)/test
TESTWORKDIR = testwork
+BOOTSTRAPRUBY = $(MINIRUBY)
+
all: $(MKFILES) $(PREP) $(RBCONFIG) $(LIBRUBY)
@$(MINIRUBY) $(srcdir)/ext/extmk.rb $(EXTMK_ARGS)
prog: $(PROGRAM) $(WPROGRAM)
@@ -302,6 +304,9 @@ realclean:: distclean
check: test test-all
+btest: $(MINIRUBY) PHONY
+ @$(BOOTSTRAPRUBY) "$(srcdir)/bootstraptest/runner.rb" --ruby="$(MINIRUBY)"
+
test: miniruby$(EXEEXT) $(RBCONFIG) $(PROGRAM) PHONY
@$(MINIRUBY) $(srcdir)/rubytest.rb