aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-12-29 14:41:48 +0100
committerLoïc Hoguin <[email protected]>2013-12-29 14:41:48 +0100
commit723f1b1883e7834784eab772d74d9ede299f145b (patch)
treedbd0fb7890516719d7ee3830154a5f3ce00a751c
parent0fbcef3f47ccd344cbf8b321c7fd827e549c7a51 (diff)
downloadranch-723f1b1883e7834784eab772d74d9ede299f145b.tar.gz
ranch-723f1b1883e7834784eab772d74d9ede299f145b.tar.bz2
ranch-723f1b1883e7834784eab772d74d9ede299f145b.zip
Add a label to ct runs when testing across all Erlang releases
-rwxr-xr-xall.sh2
-rw-r--r--erlang.mk5
2 files changed, 4 insertions, 3 deletions
diff --git a/all.sh b/all.sh
index 1470e96..8f6032b 100755
--- a/all.sh
+++ b/all.sh
@@ -13,7 +13,7 @@ do
. $KERL_INSTALL_PATH/$rel/activate
cp ~/.kerl/builds/$rel/otp_src_*/lib/ssl/test/erl_make_certs.erl \
deps/ct_helper/src/
- make tests
+ CT_OPTS="-label $rel" make tests
done
xdg-open logs/all_runs.html
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 ?=