summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index 62da9aa39e..e3f912febe 100644
--- a/common.mk
+++ b/common.mk
@@ -467,8 +467,11 @@ no-test-all: PHONY
yes-test-all: PHONY
$(RUNRUBY) "$(srcdir)/test/runner.rb" $(TESTS)
+# only on cross-compiling
TESTS_BUILD = mkmf
-test-build: PHONY
+test-build: $(TEST_RUNNABLE)-test-build
+yes-test-build: yes-test-all
+no-test-build: PHONY
$(MINIRUBY) -I"$(srcdir)/lib" "$(srcdir)/test/runner.rb" $(TESTS_BUILD)
test-ruby: $(TEST_RUNNABLE)-test-ruby