aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2020-07-21 14:24:42 +0200
committerLoïc Hoguin <[email protected]>2020-07-21 14:24:42 +0200
commiteb3e4b06e0c217439f1ef0ffcfcdf131c7f72e71 (patch)
treea3d0244f9d33b789ba43661fe2b85fbe607aec11
parent06898f32c842ebe77586fb9e0e4848cdf68e5175 (diff)
downloaderlang.mk-eb3e4b06e0c217439f1ef0ffcfcdf131c7f72e71.tar.gz
erlang.mk-eb3e4b06e0c217439f1ef0ffcfcdf131c7f72e71.tar.bz2
erlang.mk-eb3e4b06e0c217439f1ef0ffcfcdf131c7f72e71.zip
Add query-deps test with no deps
-rw-r--r--test/core_query.mk14
1 files changed, 14 insertions, 0 deletions
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)"