mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-14 12:20:24 +00:00
Now testing on R15B01+ and maint and master git branches
This commit is contained in:
parent
7a274661b2
commit
0ec713fc4b
2 changed files with 22 additions and 2 deletions
19
all.sh
Executable file
19
all.sh
Executable 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
5
erlang.mk
vendored
|
@ -216,13 +216,14 @@ build-tests: build-test-deps
|
||||||
$(gen_verbose) erlc -v $(ERLC_OPTS) -o test/ \
|
$(gen_verbose) erlc -v $(ERLC_OPTS) -o test/ \
|
||||||
$(wildcard test/*.erl test/*/*.erl) -pa ebin/
|
$(wildcard test/*.erl test/*/*.erl) -pa ebin/
|
||||||
|
|
||||||
|
CT_OPTS ?=
|
||||||
CT_RUN = ct_run \
|
CT_RUN = ct_run \
|
||||||
-no_auto_compile \
|
-no_auto_compile \
|
||||||
-noshell \
|
-noshell \
|
||||||
-pa $(realpath ebin) $(DEPS_DIR)/*/ebin \
|
-pa $(realpath ebin) $(DEPS_DIR)/*/ebin \
|
||||||
-dir test \
|
-dir test \
|
||||||
-logdir logs
|
-logdir logs \
|
||||||
# -cover test/cover.spec
|
$(CT_OPTS)
|
||||||
|
|
||||||
CT_SUITES ?=
|
CT_SUITES ?=
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue