[CRIU] [PATCH] make: don't run feature-tests for tags/etags/cscope

Andrei Vagin avagin at virtuozzo.com
Fri May 5 16:25:09 PDT 2017


Applied, thanks!
On Mon, Apr 24, 2017 at 03:51:47PM +0300, Dmitry Safonov wrote:
> Each `make tags` resulted in running feature-tests.
> That's not needed for tags generation.
> Don't waste time on tests as we don't compile anything.
> 
> Reported-by: Kirill Tkhai <ktkhai at virtuozzo.com>
> Signed-off-by: Dmitry Safonov <dsafonov at virtuozzo.com>
> ---
>  Makefile | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/Makefile b/Makefile
> index 385a4d096835..d091ed4490b9 100644
> --- a/Makefile
> +++ b/Makefile
> @@ -194,7 +194,7 @@ criu-deps	+= include/common/asm
>  #
>  # Configure variables.
>  export CONFIG_HEADER := criu/include/config.h
> -ifeq ($(filter clean mrproper,$(MAKECMDGOALS)),)
> +ifeq ($(filter tags etags cscope clean mrproper,$(MAKECMDGOALS)),)
>  include Makefile.config
>  else
>  # To clean all files, enable make/build options here
> -- 
> 2.12.2
> 
> _______________________________________________
> CRIU mailing list
> CRIU at openvz.org
> https://lists.openvz.org/mailman/listinfo/criu


More information about the CRIU mailing list