diff options
author | Loïc Hoguin <[email protected]> | 2013-12-29 14:57:01 +0100 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2013-12-29 14:57:01 +0100 |
commit | 0ec713fc4b185c3cd0f6b2e7ec2c5f198361bddd (patch) | |
tree | 2c94026943122708e5d7b1f34da67c9a7ca7799f | |
parent | 7a274661b297375c8c2c0c1d9cd23bb52185cf84 (diff) | |
download | cowboy-0ec713fc4b185c3cd0f6b2e7ec2c5f198361bddd.tar.gz cowboy-0ec713fc4b185c3cd0f6b2e7ec2c5f198361bddd.tar.bz2 cowboy-0ec713fc4b185c3cd0f6b2e7ec2c5f198361bddd.zip |
Now testing on R15B01+ and maint and master git branches
-rwxr-xr-x | all.sh | 19 | ||||
-rw-r--r-- | erlang.mk | 5 |
2 files changed, 22 insertions, 2 deletions
@@ -0,0 +1,19 @@ +#!/bin/sh + +KERL_INSTALL_PATH=~/erlang +KERL_RELEASES="r15b01 r15b02 r15b03 r16b r16b01 r16b02 r16b03 maint master" + +make build-tests + +for rel in $KERL_RELEASES +do + echo + echo " TESTING $rel" + echo + . $KERL_INSTALL_PATH/$rel/activate + cp ~/.kerl/builds/$rel/otp_src_*/lib/ssl/test/erl_make_certs.erl \ + deps/ct_helper/src/ + 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 ?= |