aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2014-01-30 19:12:00 +0100
committerLukas Larsson <[email protected]>2014-02-24 15:16:05 +0100
commit734c74b65fbb8c5340e6e8e5542d14fa9c8e0565 (patch)
tree33b14b48b52359801d7f543d1c049222468681bd
parente48c536be1b21711e6e4b16bd8a9b74cf2aa019b (diff)
downloadotp-734c74b65fbb8c5340e6e8e5542d14fa9c8e0565.tar.gz
otp-734c74b65fbb8c5340e6e8e5542d14fa9c8e0565.tar.bz2
otp-734c74b65fbb8c5340e6e8e5542d14fa9c8e0565.zip
ose: Skip building tests for skipped apps
-rw-r--r--Makefile.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.in b/Makefile.in
index d1fd64632c..b14aa65913 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -906,6 +906,11 @@ TEST_DIRS := \
erts/epmd/test \
erts/emulator/test
+# Any applications listed in SKIP-APPLICATIONS should be skipped
+SKIP_FILE := $(wildcard lib/SKIP-APPLICATIONS)
+SKIP_TEST_DIRS := $(if $(SKIP_FILE),$(foreach APP,$(shell cat $(SKIP_FILE)),lib/$(APP)/test))
+TEST_DIRS := $(filter-out $(SKIP_TEST_DIRS),$(TEST_DIRS))
+
.PHONY: tests release_tests $(TEST_DIRS)
tests release_tests: $(TEST_DIRS)