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:
parent
e6a26571e0
commit
2f05a71c61
6
Makefile
6
Makefile
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user