From eb3e4b06e0c217439f1ef0ffcfcdf131c7f72e71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Tue, 21 Jul 2020 14:24:42 +0200 Subject: Add query-deps test with no deps --- test/core_query.mk | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/test/core_query.mk b/test/core_query.mk index 240fe4c..0cefc8d 100644 --- a/test/core_query.mk +++ b/test/core_query.mk @@ -232,6 +232,20 @@ core-query-doc-deps: init > $(APP)/expected-deps.txt $t cmp $(APP)/expected-deps.txt $(APP)/.erlang.mk/query-doc-deps.log +core-query-no-deps: init + + $i "Bootstrap a new OTP library named $(APP)" + $t mkdir $(APP)/ + $t cp ../erlang.mk $(APP)/ + $t $(MAKE) -C $(APP) -f erlang.mk bootstrap-lib $v + + $i "Query the dependencies of $(APP)" + $t $(MAKE) -C $(APP) query-deps $v + + $i "Confirm that nothing was found" + $t touch $(APP)/expected-deps.txt + $t cmp $(APP)/expected-deps.txt $(APP)/.erlang.mk/query-deps.log + core-query-rel-deps: init $i "Bootstrap a new OTP library named $(APP)" -- cgit v1.2.3