From: Thorsten Kukuk Date: Mon, 13 Mar 2017 16:26:43 +0000 (+0100) Subject: The rpcgen tests should not run if we don't build rpcgen. X-Git-Tag: glibc-2.26~722 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c38120459219ecb5827c42e793cb3921be089f2f;p=thirdparty%2Fglibc.git The rpcgen tests should not run if we don't build rpcgen. * sunrpc/Makefile: only run rpcgen tests if we build rpcgen. --- diff --git a/sunrpc/Makefile b/sunrpc/Makefile index 1cdaec714dc..a5177fffdc7 100644 --- a/sunrpc/Makefile +++ b/sunrpc/Makefile @@ -104,9 +104,11 @@ tests += tst-svc_register tst-udp-garbage endif ifeq ($(run-built-tests),yes) +ifeq ($(link-obsolete-rpc),yes) rpcgen-tests := $(objpfx)bug20790.out tests-special += $(rpcgen-tests) endif +endif ifeq ($(link-obsolete-rpc),yes) headers += $(rpcsvc:%.x=rpcsvc/%.h)