diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2016-12-03 13:38:56 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2016-12-03 13:38:56 +0000 |
commit | 4de95651afa273d561b79d73f2395c61a72a37cd (patch) | |
tree | 05ac7bf63e7fbcf241f3c614802f7ce40e11640c /Makefile | |
parent | bdcfcdb811540d61c669c39d2f3233aa15783330 (diff) | |
download | gitano-4de95651afa273d561b79d73f2395c61a72a37cd.tar.gz |
Ensure testing runs both modes
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -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) |