aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/bootstrap.mk3
-rw-r--r--test/plugin_bootstrap.mk2
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