The rpcgen tests should not run if we don't build rpcgen.
authorThorsten Kukuk <kukuk@thkukuk.de>
Mon, 13 Mar 2017 16:26:43 +0000 (17:26 +0100)
committerThorsten Kukuk <kukuk@thkukuk.de>
Mon, 13 Mar 2017 16:26:43 +0000 (17:26 +0100)
* sunrpc/Makefile: only run rpcgen tests if we build rpcgen.

sunrpc/Makefile

index 1cdaec714dcb9aa8e1dc6781f2b998d67a1a39b5..a5177fffdc7c682ee18aec2da59f1d0b1a6e365c 100644 (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)