summaryrefslogtreecommitdiff
path: root/test/Makefile.in
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-02-09 14:23:53 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2016-02-09 14:23:53 -0800
commit05595c2e59983db469e620c4f34b2eef5123391b (patch)
tree9c72fdb703ebbacb66a9ca08c7a3d4c5bef01049 /test/Makefile.in
parent8fa67e959bcc835c359981aae01f0dad3213451a (diff)
parent821213572075b3f5a97676f48aeb6733bf437277 (diff)
downloademacs-05595c2e59983db469e620c4f34b2eef5123391b.tar.gz
-
Diffstat (limited to 'test/Makefile.in')
-rw-r--r--test/Makefile.in8
1 files changed, 6 insertions, 2 deletions
diff --git a/test/Makefile.in b/test/Makefile.in
index 0034f104598..e651c6caf0b 100644
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@ -89,10 +89,14 @@ WRITE_LOG = > $@ 2>&1 || { stat=ERROR; cat $@; }; echo $$stat: $@
## Beware: it approximates 'no-byte-compile', so watch out for false-positives!
SELECTOR_DEFAULT = (quote (not (tag :expensive-test)))
SELECTOR_EXPENSIVE = nil
-ifndef SELECTOR
+ifdef SELECTOR
+SELECTOR_ACTUAL=$(SELECTOR)
+else ifeq ($(MAKECMDGOALS),check)
+SELECTOR_ACTUAL=$(SELECTOR_DEFAULT)
+else ifeq ($(MAKECMDGOALS),check-maybe)
SELECTOR_ACTUAL=$(SELECTOR_DEFAULT)
else
-SELECTOR_ACTUAL=$(SELECTOR)
+SELECTOR_ACTUAL=$(SELECTOR_EXPENSIVE)
endif