diff options
author | Greg Noel <GregNoel@tigris.org> | 2008-08-14 23:38:20 (GMT) |
---|---|---|
committer | Greg Noel <GregNoel@tigris.org> | 2008-08-14 23:38:20 (GMT) |
commit | 53467ee2ec703bd8f4250b2b068cb6f4e188671b (patch) | |
tree | adc52550b4d86a0e271c7bb31b65020c873d23f1 | |
parent | 709f13823dd52c40dd3ae3f0aacc9c193dcebd45 (diff) | |
download | SCons-53467ee2ec703bd8f4250b2b068cb6f4e188671b.zip SCons-53467ee2ec703bd8f4250b2b068cb6f4e188671b.tar.gz SCons-53467ee2ec703bd8f4250b2b068cb6f4e188671b.tar.bz2 |
Issue 2172: RPCGEN test fix for OS X
-rw-r--r-- | test/Rpcgen/RPCGEN.py | 7 |
1 files changed, 6 insertions, 1 deletions
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)) |