[Kimchi-devel] [PATCH 10/10] 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
Wed Nov 25 05:16:11 UTC 2015
From: Archana Singh <archus at linux.vnet.ibm.com>
Signed-off-by: Archana Singh <archus at linux.vnet.ibm.com>
---
Makefile.am | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/Makefile.am b/Makefile.am
index 027344f..426c2f3 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -38,7 +38,7 @@ EXTRA_DIST = \
$(NULL)
-PEP8_BLACKLIST = *src/wok/plugins,*src/wok/config.py,*src/wok/i18n.py,*tests/test_config.py
+PEP8_BLACKLIST = *src/wok/plugins,*src/wok/config.py,*src/wok/i18n.py,*tests/test_config.py,*venv/*
SKIP_PYFLAKES_ERR = "\./src/wok/websocket\.py"
@@ -51,11 +51,15 @@ check-local:
find . -path './.git' -prune -type f -o \
-name '*.py' -o -name '*.py.in' | xargs $(PYFLAKES) | \
grep -w -v $(SKIP_PYFLAKES_ERR) | \
+ grep -w -v "venv" | \
while read LINE; do echo "$$LINE"; false; done
$(PEP8) --version
$(PEP8) --filename '*.py,*.py.in' --exclude="$(PEP8_BLACKLIST)" .
+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
@@ -164,6 +168,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.1.0
More information about the Kimchi-devel
mailing list