diff options
author | Thorsten Kukuk <kukuk@thkukuk.de> | 2017-03-13 17:26:43 +0100 |
---|---|---|
committer | Thorsten Kukuk <kukuk@thkukuk.de> | 2017-03-13 17:26:43 +0100 |
commit | c38120459219ecb5827c42e793cb3921be089f2f (patch) | |
tree | be79ee0a47f4cc2ac731da63a4ebbc3fa0ee1d9e | |
parent | d40dbe722f004f999b589de776f7e57e564dda01 (diff) | |
download | glibc-c38120459219ecb5827c42e793cb3921be089f2f.zip glibc-c38120459219ecb5827c42e793cb3921be089f2f.tar.gz glibc-c38120459219ecb5827c42e793cb3921be089f2f.tar.bz2 |
The rpcgen tests should not run if we don't build rpcgen.
* sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
-rw-r--r-- | sunrpc/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
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) |