summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorDan Radez <dradez@redhat.com>2016-06-07 16:23:30 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-06-07 16:23:30 +0000
commit5c9c130fb9d6609ac1f0ebbf6945e63667c6b168 (patch)
treebed0bc62c3f686109eb1512e3e724e3d6dee73e7 /build
parent1123fdcdda8a3b2191ef1eb9c8d403a21c59cbab (diff)
parent4b7436673f7bc8422a793f94c9fed5c2fc671167 (diff)
Merge "Enabling python coverage tests in build.sh"
Diffstat (limited to 'build')
-rw-r--r--build/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/build/Makefile b/build/Makefile
index 8a498a66..4d024a3b 100644
--- a/build/Makefile
+++ b/build/Makefile
@@ -56,6 +56,15 @@ $(RPMCOM):
# build the common RPM
rpmbuild --clean -ba opnfv-apex-common.spec -D '_topdir %(echo `pwd`)' -D '_builddir %(echo `pwd`)' -D '_sourcedir %(echo `pwd`)' -D '_rpmdir %(echo `pwd`)' -D '_specdir %(echo `pwd`)' -D '_srcrpmdir %(echo `pwd`)' -D "release $(shell echo $(RELEASE) | tr -d '_-')"
+##################
+# PYTHON TESTS #
+##################
+
+.PHONY: python-tests
+python-tests:
+ cd ../tests && ./python-coverage.sh
+
+
###############
# UNDERCLOUD #
###############