Skip to content

Commit

Permalink
* Makefile.in, win32/Makefile.sub (test-rubyspec-precheck): split
Browse files Browse the repository at this point in the history
  from test-rubyspec.

* common.mk (test-rubyspec): moved from Makefile.in.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed Aug 16, 2010
1 parent 7a80e95 commit 966532c
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 2 deletions.
7 changes: 7 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
Mon Aug 16 12:29:06 2010 Nobuyoshi Nakada <[email protected]>

* Makefile.in, win32/Makefile.sub (test-rubyspec-precheck): split
from test-rubyspec.

* common.mk (test-rubyspec): moved from Makefile.in.

Mon Aug 16 10:00:45 2010 NAKAMURA Usaku <[email protected]>

* ext/bigdecimal/bigdecimal.h (llabs): never never never never never
Expand Down
3 changes: 1 addition & 2 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,8 @@ update-rubyspec: update-mspec
exec git clone $(RUBYSPEC_GIT_URL) spec/rubyspec; \
fi

test-rubyspec:
test-rubyspec-precheck:
@if [ ! -d $(srcdir)/spec/rubyspec ]; then echo No rubyspec here. make update-rubyspec first.; exit 1; fi
$(RUNRUBY) $(srcdir)/spec/mspec/bin/mspec run -B $(srcdir)/spec/default.mspec $(MSPECOPT)

INSNS = opt_sc.inc optinsn.inc optunifs.inc insns.inc insns_info.inc \
vmtc.inc vm.inc
Expand Down
5 changes: 5 additions & 0 deletions common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,11 @@ $(RBCONFIG): $(srcdir)/tool/mkconfig.rb config.status $(PREP)
-install_name=$(RUBY_INSTALL_NAME) \
-so_name=$(RUBY_SO_NAME) rbconfig.rb

test-rubyspec-precheck:

test-rubyspec: test-rubyspec-precheck
$(RUNRUBY) $(srcdir)/spec/mspec/bin/mspec run -B $(srcdir)/spec/default.mspec $(MSPECOPT)

encs: enc trans
encs enc trans: $(ENC_MK) $(LIBRUBY) $(PREP)
$(MAKE) -f $(ENC_MK) RUBY="$(MINIRUBY)" MINIRUBY="$(MINIRUBY)" $(MFLAGS) $@
Expand Down
6 changes: 6 additions & 0 deletions win32/Makefile.sub
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,12 @@ update-rubyspec: update-mspec
@cd $(srcdir:/=\) && git clone $(RUBYSPEC_GIT_URL) spec/rubyspec
!endif

test-rubyspec-precheck:
!if !exist($(srcdir)/spec/rubyspec/.)
@echo No rubyspec here. make update-rubyspec first.
@exit 1
!endif

$(MKFILES): $(srcdir)/win32/Makefile.sub $(win_srcdir)/Makefile.sub $(win_srcdir)/configure.bat $(win_srcdir)/setup.mak $(win_srcdir)/enc-setup.mak $(srcdir)/enc/Makefile.in
$(COMSPEC) /C $(win_srcdir:/=\)\configure.bat $(configure_args)
@echo $(MKFILES) should be updated, re-run $(MAKE).
Expand Down

0 comments on commit 966532c

Please sign in to comment.