From 452e1d0a7ad9962ba4cc517d7585a9fb4d7a8428 Mon Sep 17 00:00:00 2001 From: GregNoel Date: Thu, 14 Aug 2008 23:38:20 +0000 Subject: [PATCH] Issue 2172: RPCGEN test fix for OS X git-svn-id: http://scons.tigris.org/svn/scons/trunk@3276 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- 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 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)) -- 2.26.2