summaryrefslogtreecommitdiff
path: root/common.mk
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2023-10-17 20:09:59 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2023-10-17 21:07:25 +0900
commit4c54492770cd7dcf03360c9061358f6e640b5075 (patch)
tree3de5bf767c8fe522cd6ffa88224813a0e8951dfb /common.mk
parent03ac10898f7ee08342a8a5968f7b7095dd8692ae (diff)
Separate `test-precheck` target
So that the tests can run without updating other than the programs.
Diffstat (limited to 'common.mk')
-rw-r--r--common.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index 581ad1a312..fce0cfd8b8 100644
--- a/common.mk
+++ b/common.mk
@@ -928,7 +928,10 @@ test-sample: test-basic # backward compatibility for mswin-build
test-short: btest-ruby $(DOT_WAIT) test-knownbug $(DOT_WAIT) test-basic
test: test-short
-yes-test-all-precheck: programs encs exts PHONY $(DOT_WAIT)
+# Separate to skip updating encs and exts by `make -o test-precheck`
+# for GNU make.
+test-precheck: encs exts PHONY $(DOT_WAIT)
+yes-test-all-precheck: programs $(DOT_WAIT) test-precheck
# $ make test-all TESTOPTS="--help" displays more detail
# for example, make test-all TESTOPTS="-j2 -v -n test-name -- test-file-name"