summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2016-12-03 13:38:56 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2016-12-03 13:38:56 +0000
commit4de95651afa273d561b79d73f2395c61a72a37cd (patch)
tree05ac7bf63e7fbcf241f3c614802f7ce40e11640c /Makefile
parentbdcfcdb811540d61c669c39d2f3233aa15783330 (diff)
downloadgitano-4de95651afa273d561b79d73f2395c61a72a37cd.tar.gz
Ensure testing runs both modes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 12 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 2558cc6..ca37059 100644
--- a/Makefile
+++ b/Makefile
@@ -193,16 +193,25 @@ $(error TEST_PROTO should be ssh or http)
endif
basictest: local $(TEST_BINS)
- $(YARN) \
+ @echo "Running basic yarns in '$(TEST_PROTO)' mode"
+ @echo "Set TEST_PROTO if you want to change that"
+ @$(YARN) \
--env GTT="$$(pwd)/testing/gitano-test-tool" \
- --env GTT_PROTO=$(TEST_PROTO) \
+ --env GTT_PROTO=$(TEST_PROTO) \
$(YARN_ARGS) \
testing/library.yarn testing/01*.yarn
test: local $(TEST_BINS)
+ @echo "Running full yarns in 'ssh' mode"
+ @$(YARN) \
+ --env GTT="$$(pwd)/testing/gitano-test-tool" \
+ --env GTT_PROTO=ssh \
+ $(YARN_ARGS) \
+ testing/library.yarn $(TESTS)
+ @echo "Running full yarns in 'http' mode"
@$(YARN) \
--env GTT="$$(pwd)/testing/gitano-test-tool" \
- --env GTT_PROTO=$(TEST_PROTO) \
+ --env GTT_PROTO=ssh \
$(YARN_ARGS) \
testing/library.yarn $(TESTS)