From 53467ee2ec703bd8f4250b2b068cb6f4e188671b Mon Sep 17 00:00:00 2001 From: Greg Noel Date: Thu, 14 Aug 2008 23:38:20 +0000 Subject: Issue 2172: RPCGEN test fix for OS X --- test/Rpcgen/RPCGEN.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/test/Rpcgen/RPCGEN.py b/test/Rpcgen/RPCGEN.py index ea22438..8edb7b7 100644 --- a/test/Rpcgen/RPCGEN.py +++ b/test/Rpcgen/RPCGEN.py @@ -135,7 +135,12 @@ int main(int argc, char **args) { """) - test.run() + # OX X through 10.5 include an ancient version of rpcgen from 1998 that + # generates numerous compile warnings. Ignore stderr for this platform. + if sys.platform[:6] == 'darwin': + test.run(stderr=None) + else: + test.run() test.run(program=test.workpath('rpcclnt'+_exe)) -- cgit v0.12