From: GregNoel Date: Thu, 14 Aug 2008 23:38:20 +0000 (+0000) Subject: Issue 2172: RPCGEN test fix for OS X X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=452e1d0a7ad9962ba4cc517d7585a9fb4d7a8428;p=scons.git Issue 2172: RPCGEN test fix for OS X git-svn-id: http://scons.tigris.org/svn/scons/trunk@3276 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/test/Rpcgen/RPCGEN.py b/test/Rpcgen/RPCGEN.py index ea224384..8edb7b7e 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))