summaryrefslogtreecommitdiff
path: root/win32/Makefile.sub
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-26 00:59:15 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2017-10-26 00:59:15 +0000
commitbbacbc96d6e4725f9b4cd245c5924420c42d2821 (patch)
treeedfa7ca0bed2d3922767710b7cb4d0ed529846b6 /win32/Makefile.sub
parent44c748f571d5b75859b7abc954453c6bd8e10c3d (diff)
common.mk: test-bundled-gem [ci skip]
* common.mk (test-bundled-gems): moved from Makefile.in so it might work on nmake too. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r--win32/Makefile.sub7
1 files changed, 7 insertions, 0 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub
index ed53cd9e952..24b59fbdd65 100644
--- a/win32/Makefile.sub
+++ b/win32/Makefile.sub
@@ -1097,6 +1097,13 @@ $(RCFILES): $(RBCONFIG) $(srcdir)/revision.h $(srcdir)/win32/resource.rb
-so_name=$(RUBY_SO_NAME) \
. $(icondirs) $(win_srcdir)
+test-bundled-gems-run:
+ $(Q) for /f %G in ($(srcdir)/gems/bundled_gems) do @( \
+ echo testing %G gem & \
+ $(XRUBY) -C $(srcdir)/gems/src/%G -Ilib ../../../.bundle/bin/rake || \
+ exit /b %STATUS% \
+ )
+
$(ruby_pc): $(RBCONFIG)
@$(BOOTSTRAPRUBY) $(srcdir)/tool/expand-config.rb \
-output=$@ -mode=$(INSTALL_DATA_MODE) -config=rbconfig.rb \