aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2014-07-25 14:46:09 +0200
committerLoïc Hoguin <[email protected]>2014-07-25 14:46:09 +0200
commitb0c5f662f45fbbb72d9e96f8514fcb56a5c83aab (patch)
tree33a7a7cb58216bca21a7cf55d2d0a83a96a0778e /plugins
parent5d521d2b8d58a9a93c75a559115aceacd0d1a429 (diff)
parent2fa298126ef0a338be67f2f59d3c15963dc30f8c (diff)
downloaderlang.mk-b0c5f662f45fbbb72d9e96f8514fcb56a5c83aab.tar.gz
erlang.mk-b0c5f662f45fbbb72d9e96f8514fcb56a5c83aab.tar.bz2
erlang.mk-b0c5f662f45fbbb72d9e96f8514fcb56a5c83aab.zip
Merge branch 'auto-detect-ct-suites' of git://github.com/sedrik/erlang.mk
Diffstat (limited to 'plugins')
-rw-r--r--plugins/ct.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/ct.mk b/plugins/ct.mk
index a6d8f52..a27cc46 100644
--- a/plugins/ct.mk
+++ b/plugins/ct.mk
@@ -6,7 +6,7 @@
# Configuration.
CT_OPTS ?=
-CT_SUITES ?=
+CT_SUITES ?= $(sort $(subst _SUITE.erl,,$(shell find test -type f -name \*_SUITE.erl -exec basename {} \;)))
TEST_ERLC_OPTS ?= +debug_info +warn_export_vars +warn_shadow_vars +warn_obsolete_guard
TEST_ERLC_OPTS += -DTEST=1 -DEXTRA=1 +'{parse_transform, eunit_autoexport}'