ref: 8991aafe781a85af97aec013d197146ccc23b1e9
parent: f2f06f97302a843395f5934edd38d363037b9dc2
author: Paul Brossier <piem@piem.org>
date: Sat Sep 16 08:09:27 EDT 2017
Makefile: add NOSE2= to redefine nose2 command
--- a/Makefile
+++ b/Makefile
@@ -35,6 +35,9 @@
DATAROOTDIR?=$(PREFIX)/share
MANDIR?=$(DATAROOTDIR)/man
+# default nose2 command
+NOSE2?=nose2 -N 4
+
SOX=sox
TESTSOUNDS := python/tests/sounds
@@ -137,7 +140,7 @@
# run test with installed package
./python/tests/run_all_tests --verbose
# also run with nose, multiple processes
- nose2 -N 4
+ $(NOSE2)
clean_python:
./setup.py clean