From c38120459219ecb5827c42e793cb3921be089f2f Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Mon, 13 Mar 2017 17:26:43 +0100 Subject: The rpcgen tests should not run if we don't build rpcgen. * sunrpc/Makefile: only run rpcgen tests if we build rpcgen. --- sunrpc/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sunrpc') diff --git a/sunrpc/Makefile b/sunrpc/Makefile index 1cdaec7..a5177ff 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) -- cgit v1.1