aboutsummaryrefslogtreecommitdiffstats
path: root/all.sh
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2013-12-07 19:41:45 +0100
committerLoïc Hoguin <[email protected]>2013-12-07 19:41:45 +0100
commit91b83d48209b16b3a4d91bf1781ddc8b8bf1e7c1 (patch)
tree2d0335d133a0c7f4744cce6f6695f228639ce92f /all.sh
parentc331076bad75ed89ff01c67d9e2c12688da7cc10 (diff)
downloadranch-91b83d48209b16b3a4d91bf1781ddc8b8bf1e7c1.tar.gz
ranch-91b83d48209b16b3a4d91bf1781ddc8b8bf1e7c1.tar.bz2
ranch-91b83d48209b16b3a4d91bf1781ddc8b8bf1e7c1.zip
Ranch is supported on R15B01+
Add a script that runs the test suite on all Erlang versions starting from R15B01. R15B is not supported due to issues with sendfile.
Diffstat (limited to 'all.sh')
-rwxr-xr-xall.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/all.sh b/all.sh
new file mode 100755
index 0000000..cbafc3f
--- /dev/null
+++ b/all.sh
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+KERL_INSTALL_PATH=~/erlang
+KERL_RELEASES="r15b01 r15b02 r15b03 r16b r16b01 r16b02"
+
+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/
+ make tests
+done
+
+xdg-open logs/all_runs.html