The rpcgen tests should not run if we don't build rpcgen.

* sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
This commit is contained in:
Thorsten Kukuk 2017-03-13 17:26:43 +01:00
parent d40dbe722f
commit c381204592
1 changed files with 2 additions and 0 deletions

View File

@ -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)