From 9c3f9f1dfe73738d182ddd9832406b2ab61293f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Thu, 17 Sep 2015 21:40:41 +0200 Subject: Don't require OTP 18+ to run tests --- test/core_compat.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/core_compat.mk b/test/core_compat.mk index 93178d3..9b6516f 100644 --- a/test/core_compat.mk +++ b/test/core_compat.mk @@ -112,7 +112,7 @@ core-compat-rebar-deps: build clean-core-compat-rebar-deps $i "Add Cowboy as a dependency" $t sed -i.bak '2i\ DEPS = cowboy\ -dep_cowboy = git https://github.com/ninenines/cowboy master\ +dep_cowboy = git https://github.com/ninenines/cowboy 1.0.0\ ' $(APP)/Makefile $i "Run 'make rebar.config'" @@ -124,7 +124,7 @@ dep_cowboy = git https://github.com/ninenines/cowboy master\ $i "Check that Cowboy is listed in rebar.config" $t $(ERL) -eval " \ {ok, C} = file:consult(\"$(APP)/rebar.config\"), \ - {_, [{cowboy, _, {git, _, \"master\"}}]} = lists:keyfind(deps, 1, C), \ + {_, [{cowboy, _, {git, _, \"1.0.0\"}}]} = lists:keyfind(deps, 1, C), \ halt()" $i "Distclean the application" -- cgit v1.2.3