From be449f2620e2050d74928982b5991c5866d8f77b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-S=C3=A9bastien=20P=C3=A9dron?= Date: Thu, 2 Apr 2020 17:24:47 +0200 Subject: test/core_query.mk: Pin `farwest` in `core-query-deps-no-duplicates` It was previously "pinned" to its `master` branch. Unforunately, the testcase started to fail after `farwest` changed its own pinning of `cowlib`. By pinning to a specific version (or commit in this case) of `farwest`, we make sure this won't happen again. --- test/core_query.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/core_query.mk b/test/core_query.mk index df44c2c..240fe4c 100644 --- a/test/core_query.mk +++ b/test/core_query.mk @@ -135,7 +135,7 @@ core-query-deps-no-duplicates: init $t $(MAKE) -C $(APP) -f erlang.mk bootstrap-lib $v $i "Add Cowboy 2.7.0 and Farwest master to DEPS" - $t perl -ni.bak -e 'print;if ($$.==1) {print "DEPS = cowboy farwest\ndep_cowboy_commit = 2.7.0\ndep_farwest = git https://github.com/ninenines/farwest master\n"}' $(APP)/Makefile + $t perl -ni.bak -e 'print;if ($$.==1) {print "DEPS = cowboy farwest\ndep_cowboy_commit = 2.7.0\ndep_farwest = git https://github.com/ninenines/farwest 017dc36b59f028e7014bad927e745a2c0b529018\n"}' $(APP)/Makefile ifdef LEGACY $i "Add Cowboy and Farwest to the applications key in the .app.src file" @@ -148,13 +148,13 @@ endif $i "Confirm that the expected applications were found" $t printf "%s\n" \ "$(APP): cowboy git https://github.com/ninenines/cowboy 2.7.0" \ - "$(APP): farwest git https://github.com/ninenines/farwest master" \ + "$(APP): farwest git https://github.com/ninenines/farwest 017dc36b59f028e7014bad927e745a2c0b529018" \ "cowboy: cowlib git https://github.com/ninenines/cowlib 2.8.0" \ "cowboy: ranch git https://github.com/ninenines/ranch 1.7.1" \ "farwest: cowlib git https://github.com/ninenines/cowlib master" \ "farwest: cowboy git https://github.com/ninenines/cowboy master" \ "farwest: gun git https://github.com/ninenines/gun master" \ - "gun: cowlib git https://github.com/ninenines/cowlib master" \ + "gun: cowlib git https://github.com/ninenines/cowlib 2.9.0" \ > $(APP)/expected-deps.txt $t cmp $(APP)/expected-deps.txt $(APP)/.erlang.mk/query-deps.log -- cgit v1.2.3