[Yum-devel] [PATCH] make test should do a msgfmt -c on all the translations

Tim Lauridsen tim.lauridsen at googlemail.com
Wed Oct 14 15:44:53 UTC 2009


On 10/14/2009 05:20 PM, Seth Vidal wrote:
> ---
>   Makefile    |    1 +
>   po/Makefile |    8 ++++++++
>   2 files changed, 9 insertions(+), 0 deletions(-)
>
> diff --git a/Makefile b/Makefile
> index 3f1b54f..aba6eb2 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -49,6 +49,7 @@ doccheck:
>   test:
>   	@nosetests -i ".*test" test
>   	@test/check-po-yes-no.py
> +	cd po; make test
>
>   test-skipbroken:
>   	@nosetests -i ".*test" test/skipbroken-tests.py
> diff --git a/po/Makefile b/po/Makefile
> index aad596a..6694554 100644
> --- a/po/Makefile
> +++ b/po/Makefile
> @@ -70,3 +70,11 @@ install:	all
>
>   %.mo: %.po
>   	msgfmt -o $@ $<  -c
> +
> +
> +test:
> +	for n in $(CATALOGS); do \
> +	msgfmt -c $$n; \
> +	done
> +
> +
> \ No newline at end of file
>    
ACK

Tim


More information about the Yum-devel mailing list