Mike Gerwitz

Activist for User Freedom

aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAustin Schaffer <austin.schaffer@ryansg.com>2020-01-31 14:12:52 -0500
committerAustin Schaffer <austin.schaffer@ryansg.com>2020-01-31 15:57:33 -0500
commite81516ca8020e2ab96aee2859f0200d92108cc3e (patch)
tree3cd32c97969bc4db58ec1522cba22f9dc4788796 /Makefile.am
parent3c5cffc34f6ddd4b6d632d3f7e1b163d97600961 (diff)
downloadliza-e81516ca8020e2ab96aee2859f0200d92108cc3e.tar.gz
liza-e81516ca8020e2ab96aee2859f0200d92108cc3e.tar.bz2
liza-e81516ca8020e2ab96aee2859f0200d92108cc3e.zip
[DEV-6721] Add optional code coverage
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 9e0d6f8..2e7a45f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -67,10 +67,11 @@ check-ts-out:
test: check
check: $(tsout) check-ts-out
- PATH="$(PATH):$(CURDIR)/node_modules/mocha/bin" \
- mocha @NODE_DESTRUCTURE@ \
+ PATH="$(PATH):$(CURDIR)/node_modules/.bin" \
+ @CODE_COV@ mocha @NODE_DESTRUCTURE@ \
--require $(path_test)/pre.js \
--recursive \
+ @COV_ARGS@ \
$(TESTARGS)
FORCE: