summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/common.mk b/common.mk
index c45c3e1f71..62da9aa39e 100644
--- a/common.mk
+++ b/common.mk
@@ -467,6 +467,10 @@ no-test-all: PHONY
yes-test-all: PHONY
$(RUNRUBY) "$(srcdir)/test/runner.rb" $(TESTS)
+TESTS_BUILD = mkmf
+test-build: PHONY
+ $(MINIRUBY) -I"$(srcdir)/lib" "$(srcdir)/test/runner.rb" $(TESTS_BUILD)
+
test-ruby: $(TEST_RUNNABLE)-test-ruby
no-test-ruby: PHONY
yes-test-ruby: PHONY