diff options
author | Loïc Hoguin <[email protected]> | 2013-12-29 14:41:48 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2013-12-29 14:41:48 +0100 |
commit | 723f1b1883e7834784eab772d74d9ede299f145b (patch) | |
tree | dbd0fb7890516719d7ee3830154a5f3ce00a751c | |
parent | 0fbcef3f47ccd344cbf8b321c7fd827e549c7a51 (diff) | |
download | ranch-723f1b1883e7834784eab772d74d9ede299f145b.tar.gz ranch-723f1b1883e7834784eab772d74d9ede299f145b.tar.bz2 ranch-723f1b1883e7834784eab772d74d9ede299f145b.zip |
Add a label to ct runs when testing across all Erlang releases
-rwxr-xr-x | all.sh | 2 | ||||
-rw-r--r-- | erlang.mk | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -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 @@ -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 ?= |