aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--erlang.mk5
2 files changed, 5 insertions, 2 deletions
diff --git a/README.md b/README.md
index 460882d..22cb2bf 100644
--- a/README.md
+++ b/README.md
@@ -184,6 +184,8 @@ the various operations of the documentation generation.
the `make tests` command. If your suite module is named `ponies_SUITE`
then you only need to put `ponies` in the list.
+`CT_OPTS` allows you to specify extra common_test options.
+
`PLT_APPS` is the list of applications to include when building the
`.plt` file for Dialyzer. You do not need to put `erts`, `kernel` or
`stdlib` in there because they will always be included. The applications
diff --git a/erlang.mk b/erlang.mk
index 107cdd5..1e0a05e 100644
--- a/erlang.mk
+++ b/erlang.mk
@@ -216,13 +216,14 @@ build-tests: build-test-deps
$(gen_verbose) erlc -v $(ERLC_OPTS) -o test/ \
$(wildcard test/*.erl test/*/*.erl) -pa ebin/
+CT_OPTS ?=
CT_RUN = ct_run \
-no_auto_compile \
-noshell \
-pa $(realpath ebin) $(DEPS_DIR)/*/ebin \
-dir test \
- -logdir logs
-# -cover test/cover.spec
+ -logdir logs \
+ $(CT_OPTS)
CT_SUITES ?=