aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <[email protected]>2020-04-02 17:24:47 +0200
committerJean-Sébastien Pédron <[email protected]>2020-04-02 17:24:47 +0200
commitbe449f2620e2050d74928982b5991c5866d8f77b (patch)
tree95f434bad36bd8a8e6ded776fda4b5f25fb698b8
parent2331c3443e2723209d6be0ceba71890c3e521505 (diff)
downloaderlang.mk-be449f2620e2050d74928982b5991c5866d8f77b.tar.gz
erlang.mk-be449f2620e2050d74928982b5991c5866d8f77b.tar.bz2
erlang.mk-be449f2620e2050d74928982b5991c5866d8f77b.zip
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.
-rw-r--r--test/core_query.mk6
1 files 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