ruby-changes:4937
From: ko1@a...
Date: Fri, 16 May 2008 13:38:57 +0900 (JST)
Subject: [ruby-changes:4937] akr - Ruby:r16430 (ruby_1_8): Makefile.in (update-rubyspec): new target to download rubyspec.
akr 2008-05-16 13:38:47 +0900 (Fri, 16 May 2008) New Revision: 16430 Modified files: branches/ruby_1_8/ChangeLog branches/ruby_1_8/Makefile.in Log: Makefile.in (update-rubyspec): new target to download rubyspec. (test-rubyspec): new target to run rubyspec. this doesn't work before install. http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/Makefile.in?r1=16430&r2=16429&diff_format=u http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/ChangeLog?r1=16430&r2=16429&diff_format=u Index: ruby_1_8/Makefile.in =================================================================== --- ruby_1_8/Makefile.in (revision 16429) +++ ruby_1_8/Makefile.in (revision 16430) @@ -181,3 +181,22 @@ ext/extinit.$(OBJEXT): ext/extinit.c $(SETUP) $(CC) $(CFLAGS) $(XCFLAGS) $(CPPFLAGS) $(OUTFLAG)$@ -c ext/extinit.c + +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; \ + git pull; \ + cd ../spec/rubyspec; \ + git pull; \ + else \ + git clone $(MSPEC_GIT_URL) rubyspec/mspec; \ + git clone $(RUBYSPEC_GIT_URL) rubyspec/spec/rubyspec; \ + fi + +# currently this doesn't work before install. +test-rubyspec: + @if [ ! -d rubyspec ]; then echo No rubyspec here. make update-rubyspec first.; exit 1; fi + ./$(PROGRAM) rubyspec/mspec/bin/mspec -t ./$(PROGRAM) rubyspec/spec/rubyspec/1.8 Index: ruby_1_8/ChangeLog =================================================================== --- ruby_1_8/ChangeLog (revision 16429) +++ ruby_1_8/ChangeLog (revision 16430) @@ -1,3 +1,9 @@ +Fri May 16 13:01:43 2008 Tanaka Akira <akr@f...> + + * Makefile.in (update-rubyspec): new target to download rubyspec. + (test-rubyspec): new target to run rubyspec. this doesn't work + before install. + Fri May 16 08:15:52 2008 Hidetoshi NAGAI <nagai@a...> * ext/tk/lib/tk.rb: fix memory (object) leak bug. -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/