0
Fork 0
mirror of https://github.com/ninenines/cowboy.git synced 2025-07-14 04:10:24 +00:00

Now testing on R15B01+ and maint and master git branches

This commit is contained in:
Loïc Hoguin 2013-12-29 14:57:01 +01:00
parent 7a274661b2
commit 0ec713fc4b
2 changed files with 22 additions and 2 deletions

19
all.sh Executable file
View file

@ -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

5
erlang.mk vendored
View file

@ -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 ?=