summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2016-12-03 11:35:49 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2016-12-03 11:35:49 +0000
commit45583e2403e2a1242899b5371ded0962b6ce013a (patch)
tree420b96afdd2cdb6b1aa29013475a2a6484fb21e3 /Makefile
parentbd1e294d7a4fbdbfd7b3eb5dfb49bbdef961f7e5 (diff)
downloadgitano-45583e2403e2a1242899b5371ded0962b6ce013a.tar.gz
Support 'basictest' as a target which only runs 01_* and support TEST_PROTO
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 13 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e7b8b29..378d43c 100644
--- a/Makefile
+++ b/Makefile
@@ -182,9 +182,20 @@ ifneq ($(SCENARIO),)
YARN_ARGS += --run "$(SCENARIO)"
endif
+TEST_PROTO ?= SSH
+
+basictest: local $(TEST_BINS)
+ $(YARN) \
+ --env GTT="$$(pwd)/testing/gitano-test-tool" \
+ --env GTT_PROTO=$(TEST_PROTO) \
+ $(YARN_ARGS) \
+ testing/library.yarn testing/01*.yarn
+
test: local $(TEST_BINS)
- @$(YARN) --env GTT="$$(pwd)/testing/gitano-test-tool" \
- $(YARN_ARGS) \
+ @$(YARN) \
+ --env GTT="$$(pwd)/testing/gitano-test-tool" \
+ --env GTT_PROTO=$(TEST_PROTO) \
+ $(YARN_ARGS) \
testing/library.yarn $(TESTS)
testing/%: testing/%.in $(GEN_BIN)