aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2020-04-17 12:50:20 +0200
committerLoïc Hoguin <[email protected]>2020-04-17 12:50:20 +0200
commitd1972c3a40e59d427cad1eeae228e1a38258947e (patch)
treeba17760969bde1269e6704f23fdd6319fc59a50f
parent2bfa14127e139276079b83b537afbc0b736b9e20 (diff)
downloaderlang.mk-d1972c3a40e59d427cad1eeae228e1a38258947e.tar.gz
erlang.mk-d1972c3a40e59d427cad1eeae228e1a38258947e.tar.bz2
erlang.mk-d1972c3a40e59d427cad1eeae228e1a38258947e.zip
Strengthen the core_compat tests with curl --retry
-rw-r--r--test/core_compat.mk14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/core_compat.mk b/test/core_compat.mk
index e6dbd92..6cb65f3 100644
--- a/test/core_compat.mk
+++ b/test/core_compat.mk
@@ -47,7 +47,7 @@ core-compat-auto-rebar: init
$t $(MAKE) -C $(APP) distclean $v
$i "Download rebar"
- $t curl -s -L -o $(APP)/rebar $(REBAR_BINARY)
+ $t curl --retry 5 --retry-connrefused -s -L -o $(APP)/rebar $(REBAR_BINARY)
$t chmod +x $(APP)/rebar
$i "Use rebar to build the application"
@@ -86,7 +86,7 @@ core-compat-rebar: init
$t $(MAKE) -C $(APP) distclean $v
$i "Download rebar"
- $t curl -s -L -o $(APP)/rebar $(REBAR_BINARY)
+ $t curl --retry 5 --retry-connrefused -s -L -o $(APP)/rebar $(REBAR_BINARY)
$t chmod +x $(APP)/rebar
$i "Use rebar to build the application"
@@ -118,7 +118,7 @@ core-compat-rebar-deps-git: init
$t $(MAKE) -C $(APP) distclean $v
$i "Download rebar"
- $t curl -s -L -o $(APP)/rebar $(REBAR_BINARY)
+ $t curl --retry 5 --retry-connrefused -s -L -o $(APP)/rebar $(REBAR_BINARY)
$t chmod +x $(APP)/rebar
$i "Use rebar to build the application"
@@ -150,7 +150,7 @@ core-compat-rebar-deps-hex: init
$t $(MAKE) -C $(APP) distclean $v
$i "Download rebar3"
- $t curl -s -L -o $(APP)/rebar3 $(REBAR3_BINARY)
+ $t curl --retry 5 --retry-connrefused -s -L -o $(APP)/rebar3 $(REBAR3_BINARY)
$t chmod +x $(APP)/rebar3
$i "Use rebar to build the application"
@@ -182,7 +182,7 @@ core-compat-rebar-deps-pkg: init
$t $(MAKE) -C $(APP) distclean $v
$i "Download rebar"
- $t curl -s -L -o $(APP)/rebar $(REBAR_BINARY)
+ $t curl --retry 5 --retry-connrefused -s -L -o $(APP)/rebar $(REBAR_BINARY)
$t chmod +x $(APP)/rebar
$i "Use rebar to build the application"
@@ -231,7 +231,7 @@ core-compat-rebar-erlc-opts: init
$t $(MAKE) -C $(APP) distclean $v
$i "Download rebar"
- $t curl -s -L -o $(APP)/rebar $(REBAR_BINARY)
+ $t curl --retry 5 --retry-connrefused -s -L -o $(APP)/rebar $(REBAR_BINARY)
$t chmod +x $(APP)/rebar
$i "Use rebar to build the application"
@@ -289,7 +289,7 @@ ifndef LEGACY
endif
$i "Download rebar"
- $t curl -s -L -o $(APP)/rebar $(REBAR_BINARY)
+ $t curl --retry 5 --retry-connrefused -s -L -o $(APP)/rebar $(REBAR_BINARY)
$t chmod +x $(APP)/rebar
$i "Use rebar to build the application"