aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfabrixxm <fabrixxm@kirgroup.com>2019-07-02 20:14:02 +0200
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2019-07-02 21:47:21 +0200
commitfc1978d00f546935e93ab12b2d3b4ede71ed93cb (patch)
treea11b54324fd8d1d2fd2fd56629f9d93f80d60769
parent5d2abce4a0e8e0f94e02c75cbea88132aaf19322 (diff)
run_tests: search correct `nose2` bin name
-rwxr-xr-xrun_tests4
1 files changed, 2 insertions, 2 deletions
diff --git a/run_tests b/run_tests
index 703edcd..0d1de1b 100755
--- a/run_tests
+++ b/run_tests
@@ -1,5 +1,5 @@
#!/bin/sh
-
-nose2-3 --with-coverage --coverage-report=term-missing
+NOSE=$(command -v nose2-3 || command -v nose2)
+$NOSE --with-coverage --coverage-report=term-missing
flake8 .
mypy pyapd