diff options
author | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-01 14:27:21 +0000 |
---|---|---|
committer | yugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-01 14:27:21 +0000 |
commit | f6a8846ddb62ce91b28e5c07e25ba75e70707db3 (patch) | |
tree | 91e1df3f35bd257f0ec5caa60698d98f4b73b38d /Makefile.in | |
parent | 5ac1d14f299ca3d3eb01dce39e2bc516f5a0c6b6 (diff) | |
download | ruby-f6a8846ddb62ce91b28e5c07e25ba75e70707db3.tar.gz ruby-f6a8846ddb62ce91b28e5c07e25ba75e70707db3.tar.xz ruby-f6a8846ddb62ce91b28e5c07e25ba75e70707db3.zip |
Merged r16430(akr), r16431(akr), r16433(akr), r16469(nobu), and
r17874(akr) from ruby_1_8.
* Makefile.in (update-rubyspec): added
* Makefile.in (test-rubyspec): added
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in index ad4f27abd..f239b7941 100644 --- a/Makefile.in +++ b/Makefile.in @@ -206,3 +206,20 @@ distclean-local:: ext/extinit.$(OBJEXT): ext/extinit.c $(SETUP) $(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(COUTFLAG)$@ -c ext/extinit.c + +update-rubyspec: + if [ -d $(srcdir)/rubyspec ]; then \ + cd $(srcdir)/rubyspec/mspec; \ + git pull; \ + cd ../spec/rubyspec; \ + git pull; \ + else \ + mkdir $(srcdir)/rubyspec; \ + mkdir $(srcdir)/rubyspec/spec; \ + git clone $(MSPEC_GIT_URL) $(srcdir)/rubyspec/mspec; \ + git clone $(RUBYSPEC_GIT_URL) $(srcdir)/rubyspec/spec/rubyspec; \ + fi + +test-rubyspec: + @if [ ! -d $(srcdir)/rubyspec ]; then echo No rubyspec here. make update-rubyspec first.; exit 1; fi + $(RUNRUBY) $(srcdir)/rubyspec/mspec/bin/mspec $(srcdir)/rubyspec/spec/rubyspec/$(MAJOR).$(MINOR) |