diff options
author | Mads Flensted-Urech <[email protected]> | 2018-05-11 08:46:22 +0800 |
---|---|---|
committer | Loïc Hoguin <[email protected]> | 2018-05-14 13:24:15 +0200 |
commit | cbcb57ad25e63a8ff7952121b72458e5b2d04355 (patch) | |
tree | 1e77d47877d865807326508dc49a53ab6594e1f7 | |
parent | b92675833b3c5154a1477c18a373420b477c8196 (diff) | |
download | erlang.mk-cbcb57ad25e63a8ff7952121b72458e5b2d04355.tar.gz erlang.mk-cbcb57ad25e63a8ff7952121b72458e5b2d04355.tar.bz2 erlang.mk-cbcb57ad25e63a8ff7952121b72458e5b2d04355.zip |
list templates on seperate lines
-rw-r--r-- | plugins/bootstrap.mk | 3 | ||||
-rw-r--r-- | test/plugin_bootstrap.mk | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/plugins/bootstrap.mk b/plugins/bootstrap.mk index 6c26a0f..88d71b2 100644 --- a/plugins/bootstrap.mk +++ b/plugins/bootstrap.mk @@ -499,4 +499,5 @@ else endif list-templates: - $(verbose) echo Available templates: $(sort $(patsubst tpl_%,%,$(filter tpl_%,$(.VARIABLES)))) + $(verbose) @echo Available templates: + $(verbose) printf " %s\n" $(sort $(patsubst tpl_%,%,$(filter tpl_%,$(.VARIABLES)))) diff --git a/test/plugin_bootstrap.mk b/test/plugin_bootstrap.mk index 37ea707..9fde93a 100644 --- a/test/plugin_bootstrap.mk +++ b/test/plugin_bootstrap.mk @@ -181,7 +181,7 @@ bootstrap-templates: build clean $t $(MAKE) -C $(APP) -f erlang.mk bootstrap-lib $v $i "Check that we can get the list of templates" - $t test `$(MAKE) -C $(APP) --no-print-directory list-templates V=0 | wc -l` -eq 1 + $t test `$(MAKE) -C $(APP) --no-print-directory list-templates V=0 | wc -l` -gt 1 $i "Generate one of each template" $t $(MAKE) -C $(APP) --no-print-directory new t=gen_fsm n=my_fsm |