diff options
author | Dan Radez <dradez@redhat.com> | 2016-06-08 15:12:20 -0400 |
---|---|---|
committer | Dan Radez <dradez@redhat.com> | 2016-06-10 12:59:27 -0400 |
commit | 24171d4b3b3a94a64b34c8f70e90b4ae5a97ef92 (patch) | |
tree | 67c8d5d254f8d632fc02ffc32cbc08afac03c1f4 /build/Makefile | |
parent | ce4770e46df1792f80d27a279d7c6cef2d9af5e0 (diff) |
converting apex ip_utils unit tests to nose
Change-Id: I54205d217807fd5499a71571ef8bed7c684fe944
Signed-off-by: Dan Radez <dradez@redhat.com>
Diffstat (limited to 'build/Makefile')
-rw-r--r-- | build/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/build/Makefile b/build/Makefile index 3f3d1c3a..f599f42f 100644 --- a/build/Makefile +++ b/build/Makefile @@ -19,6 +19,10 @@ export RPMODL = $(shell pwd)/noarch/opnfv-apex-$(RPMVERS)-$(shell echo ${RELEASE export RPMONO = $(shell pwd)/noarch/opnfv-apex-onos-$(RPMVERS)-$(shell echo ${RELEASE} | tr -d '_-').noarch.rpm export RPMSFC = $(shell pwd)/noarch/opnfv-apex-opendaylight-sfc-$(RPMVERS)-$(shell echo ${RELEASE} | tr -d '_-').noarch.rpm +all_networks="admin_network private_network storage_network external_network api_network" + + + .PHONY: all all: iso @@ -62,7 +66,11 @@ $(RPMCOM): .PHONY: python-tests python-tests: - cd ../tests && ./python-coverage.sh + # run nose tests + cd ../tests && PYTHONPATH=../lib/python/ nosetests-3.4 . --with-coverage --cover-package apex + # generate reports + cd ../tests && coverage3 html --include '*lib/python/*' + cd ../tests && coverage3 report --include '*lib/python/*' -m ############### |