summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2016-09-24 12:14:32 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2016-09-24 12:14:32 +0100
commit39dad79532b6cb1a4b0d4c12901017fc706e42f5 (patch)
treeb7f07382db60126cd967db8dea46932cfe1f4cd2 /Makefile
parent8cd5b8c5cfd02cd6d0911a0336af91d367e447fa (diff)
downloadgitano-39dad79532b6cb1a4b0d4c12901017fc706e42f5.tar.gz
Allow specifying 'SCENARIO=blah' when make test
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 690eb5a..158dca0 100644
--- a/Makefile
+++ b/Makefile
@@ -174,6 +174,9 @@ endif
ifneq ($(LUA_CPATH),)
YARN_ARGS += --env LUA_CPATH="$(LUA_CPATH)"
endif
+ifneq ($(SCENARIO),)
+YARN_ARGS += --run "$(SCENARIO)"
+endif
test: local $(TEST_BINS)
@$(YARN) --env GTT="$$(pwd)/testing/gitano-test-tool" \