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

Chandra Shekhar Reddy Potula chandra at linux.vnet.ibm.com
Tue Dec 8 05:19:29 UTC 2015


Reviewed-by: Chandra Shekhar Reddy Potula <chandra at linux.vnet.ibm.com>

On 25/11/15 10:46 AM, archus at linux.vnet.ibm.com wrote:
> 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`




More information about the Kimchi-devel mailing list