aboutsummaryrefslogtreecommitdiffstats
path: root/common.mk
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
commitf42150744cc0d65ee3d5b2f0064d959de6038802 (patch)
tree959715d9c95e6937a1d8c0f1f1a935aa5e758c05 /common.mk
parent5b10c170e52d53e570b6335590552a12b002c361 (diff)
downloadruby-f42150744cc0d65ee3d5b2f0064d959de6038802.tar.gz
* common.mk: new target "btest", to run bootstraptests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11870 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index 64ba63c222..e2618db36f 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