aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xrun_tests8
1 files changed, 7 insertions, 1 deletions
diff --git a/run_tests b/run_tests
index 0d1de1b..b150be0 100755
--- a/run_tests
+++ b/run_tests
@@ -1,5 +1,11 @@
#!/bin/sh
NOSE=$(command -v nose2-3 || command -v nose2)
-$NOSE --with-coverage --coverage-report=term-missing
+if [ x'--coverage' = x$1 ]
+then
+ COVERAGE='--with-coverage --coverage-report=term-missing'
+else
+ COVERAGE=''
+fi
+$NOSE $COVERAGE
flake8 .
mypy pyapd