[Kimchi-devel] [PATCH V2][Wok 10/12] FVT: Added check-fvt to run FVT testcases using make and venv dir to be cleaned.

archus at linux.vnet.ibm.com archus at linux.vnet.ibm.com
Mon May 30 07:10:29 UTC 2016


From: Archana Singh <archus at linux.vnet.ibm.com>

Added check-fvt to run FVT testcases using make and venv dir to be cleaned.

Signed-off-by: Archana Singh <archus at linux.vnet.ibm.com>
---
 Makefile.am | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index 325d0c9..9827e66 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -52,6 +52,7 @@ check-local:
 		find . -path './.git' -prune -o                        	   	\
 			-name '*.py' -o -name '*.py.in'  |             			\
 			xargs $(PYFLAKES) |                            			\
+			grep -w -v "venv" | \
 			while read LINE; do echo "$$LINE"; false; done 			\
 	else                                                           	\
 		find . -name '*.py' -o -name '*.py.in'  |              		\
@@ -70,6 +71,10 @@ check-local:
 		/bin/bash check-IBM-license-header.sh ;						\
 	fi
 
+check-fvt:
+	tests/fvt/run_tests.sh
+	rm -fr venv
+
 # Link built mo files in the source tree to enable use of translations from
 # within the source tree
 all-local:
@@ -185,5 +190,6 @@ VERSION:
 
 clean-local:
 	rm -rf mo rpm
+	rm -rf mo rpm tests/fvt/venv
 
 CLEANFILES = wok.spec `find "$(top_srcdir)" -type f -name "*.pyc" -print`
-- 
2.5.0




More information about the Kimchi-devel mailing list