summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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)