Bug 557225 - Fix TryServer failures. r=cjones r=josh

This commit is contained in:
Benoit Girard
2010-07-20 00:17:45 -04:00
parent 4598069e50
commit a9a2aa830e
2 changed files with 51 additions and 5 deletions

View File

@@ -160,7 +160,7 @@ class XPCShellTests(object):
elif sys.platform in ('os2emx', 'os2knix'):
os.environ["BEGINLIBPATH"] = self.xrePath + ";" + self.env["BEGINLIBPATH"]
os.environ["LIBPATHSTRICT"] = "T"
elif sys.platform == 'osx':
elif sys.platform == 'osx' or sys.platform == "darwin":
self.env["DYLD_LIBRARY_PATH"] = self.xrePath
else: # unix or linux?
self.env["LD_LIBRARY_PATH"] = self.xrePath