summaryrefslogtreecommitdiffstats
path: root/build/Makefile
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2016-06-13 16:22:56 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-06-13 16:22:56 +0000
commit5e590a06ad0d3d859b865e2cc2428cb6be679099 (patch)
tree0d935d2310e8a0d80dda37b2f75d8b44ab561ad0 /build/Makefile
parentf54ff500424eaf4301dd221a82cb62034c8ed7d9 (diff)
parent24171d4b3b3a94a64b34c8f70e90b4ae5a97ef92 (diff)
Merge "converting apex ip_utils unit tests to nose"
Diffstat (limited to 'build/Makefile')
-rw-r--r--build/Makefile10
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
###############