1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* Makefile.in (update-rubyspec): move rubyspec to srcdir.

(test-rubyspec): ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@16433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
akr 2008-05-16 05:55:53 +00:00
parent 4d0fd56540
commit 36581da692
2 changed files with 11 additions and 6 deletions

View file

@ -1,3 +1,8 @@
Fri May 16 14:54:56 2008 Tanaka Akira <akr@fsij.org>
* Makefile.in (update-rubyspec): move rubyspec to srcdir.
(test-rubyspec): ditto.
Fri May 16 14:25:22 2008 Tanaka Akira <akr@fsij.org>
* Makefile.in (test-rubyspec): use RUNRUBY. suggested by nobu.

View file

@ -186,17 +186,17 @@ MSPEC_GIT_URL=git://github.com/brixen/mspec.git
RUBYSPEC_GIT_URL=git://github.com/brixen/rubyspec.git
update-rubyspec:
if [ -d rubyspec ]; then \
cd rubyspec/mspec; \
if [ -d $(srcdir)/rubyspec ]; then \
cd $(srcdir)/rubyspec/mspec; \
git pull; \
cd ../spec/rubyspec; \
git pull; \
else \
git clone $(MSPEC_GIT_URL) rubyspec/mspec; \
git clone $(RUBYSPEC_GIT_URL) rubyspec/spec/rubyspec; \
git clone $(MSPEC_GIT_URL) $(srcdir)/rubyspec/mspec; \
git clone $(RUBYSPEC_GIT_URL) $(srcdir)/rubyspec/spec/rubyspec; \
fi
test-rubyspec:
@if [ ! -d rubyspec ]; then echo No rubyspec here. make update-rubyspec first.; exit 1; fi
$(RUNRUBY) rubyspec/mspec/bin/mspec -r$(srcdir)/ext/purelib.rb rubyspec/spec/rubyspec/$(MAJOR).$(MINOR)
@if [ ! -d $(srcdir)/rubyspec ]; then echo No rubyspec here. make update-rubyspec first.; exit 1; fi
$(RUNRUBY) $(srcdir)/rubyspec/mspec/bin/mspec -r$(srcdir)/ext/purelib.rb $(srcdir)/rubyspec/spec/rubyspec/$(MAJOR).$(MINOR)