summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/Rpcgen/RPCGEN.py7
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))