Allow customizing nosetests command

In some environments there may not be a version of the command without a
version. In such case it's quite convenient to be able to specify what
is the actual name of the nosetests command.

Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
Lubomír Sedlář 2019-06-20 13:20:44 +02:00
parent e6a26571e0
commit 2f05a71c61
1 changed files with 4 additions and 2 deletions

View File

@ -9,6 +9,8 @@ PKGRPMFLAGS=--define "_topdir ${PWD}" --define "_specdir ${PWD}" --define "_sour
RPM="noarch/${PKGNAME}-$(VERSION)-$(RELEASE).noarch.rpm"
SRPM="${PKGNAME}-$(VERSION)-$(RELEASE).src.rpm"
NOSE=nosetests
all: help
@ -93,10 +95,10 @@ clean:
test:
nosetests --exe $(NOSE_OPTS)
$(NOSE) --exe $(NOSE_OPTS)
test-coverage:
nosetests --exe --with-cov --cov-report html --cov-config tox.ini $(NOSE_OPTS)
$(NOSE) --exe --with-cov --cov-report html --cov-config tox.ini $(NOSE_OPTS)
test-data:
./tests/data/specs/build.sh