aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2018-11-20 13:23:59 +0100
committerLoïc Hoguin <[email protected]>2018-11-20 13:23:59 +0100
commit7b5da290199fa0d668b8d9d8267e188b66da1eb3 (patch)
tree8653d5d5e646504829c8351e962572b2c3e59777 /Makefile
parent386df43ea4e0ffb8edf652ae65810957f953a9de (diff)
downloadcowboy-7b5da290199fa0d668b8d9d8267e188b66da1eb3.tar.gz
cowboy-7b5da290199fa0d668b8d9d8267e188b66da1eb3.tar.bz2
cowboy-7b5da290199fa0d668b8d9d8267e188b66da1eb3.zip
Don't run long test suites by default
The examples test suite is only useful once in a while in order to know whether examples were broken, for example before issuing a release. The new ws_autobahn test suite isolates the autobahn test suite so that it can be ignored by default. It's only useful to run it when working on the Websocket code or before issuing a release.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 40e653d..9c3e54a 100644
--- a/Makefile
+++ b/Makefile
@@ -38,6 +38,12 @@ AUTO_CI_WINDOWS ?= OTP-19+
include erlang.mk
+# Don't run the examples test suite by default.
+
+ifndef FULL
+CT_SUITES := $(filter-out examples ws_autobahn,$(CT_SUITES))
+endif
+
# Compile options.
ERLC_OPTS += +warn_missing_spec +warn_untyped_record