diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2017-01-02 10:25:16 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2017-01-02 10:25:16 +0000 |
commit | 653bba3cd6bd73876319f0d9f0b61208b46fef53 (patch) | |
tree | a00e1c39a265715d1891bd5cb79e0a300c834c73 /Makefile | |
parent | e540c58b6e14f235a5aee4fedc22d07ec52cccbf (diff) | |
download | gitano-653bba3cd6bd73876319f0d9f0b61208b46fef53.tar.gz |
Support skipping the HTTP tests if necessary
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 12 |
1 files changed, 11 insertions, 1 deletions
@@ -212,7 +212,9 @@ basictest: local plugin-check $(TEST_BINS) $(YARN_ARGS) \ testing/library.yarn testing/01*.yarn -test: local plugin-check $(TEST_BINS) +test: local plugin-check sshtests httptests + +sshtests: $(TEST_BINS) @echo "Running full yarns in 'ssh' mode" @$(YARN) \ --env GTT="$$(pwd)/testing/gitano-test-tool" \ @@ -220,6 +222,9 @@ test: local plugin-check $(TEST_BINS) --env HTTP_FIRST_TEST_PORT=$(HTTP_FIRST_TEST_PORT) \ $(YARN_ARGS) \ testing/library.yarn $(TESTS) + +ifeq ($(SKIP_HTTP_TESTS),) +httptests: $(TEST_BINS) @echo "Running full yarns in 'http' mode" @$(YARN) \ --env GTT="$$(pwd)/testing/gitano-test-tool" \ @@ -227,6 +232,11 @@ test: local plugin-check $(TEST_BINS) --env HTTP_FIRST_TEST_PORT=$(HTTP_FIRST_TEST_PORT) \ $(YARN_ARGS) \ testing/library.yarn $(TESTS) +else +httptests: + @echo "WARNING: Running of yarns in 'http' mode disabled." + @echo "WARNING: Cannot guarantee Gitano will work in HTTP mode." +endif testing/%: testing/%.in $(GEN_BIN) $(call GEN_LOCAL_BIN,$<,$@) |