Bug 1206230: Make ReftestArgumentsParser defer to self.build_obj for 'bindir' (fixing local mach reftest|crashtest runs). r=jgraham
authorDaniel Holbert <dholbert@cs.stanford.edu>
Sun, 20 Sep 2015 00:03:13 -0700
changeset 297751 b275a63010de18c1fd5d522c0801239ef16f40b5
parent 297750 ccd6b5f5e544c1d708849144943a776941bd3794
child 297752 fb9cf88929053fb92c2e82b14bfa8cae95c29149
push id962
push userjlund@mozilla.com
push dateFri, 04 Dec 2015 23:28:54 +0000
treeherdermozilla-release@23a2d286e80f [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjgraham
bugs1206230
milestone43.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1206230: Make ReftestArgumentsParser defer to self.build_obj for 'bindir' (fixing local mach reftest|crashtest runs). r=jgraham
layout/tools/reftest/reftestcommandline.py
--- a/layout/tools/reftest/reftestcommandline.py
+++ b/layout/tools/reftest/reftestcommandline.py
@@ -80,17 +80,17 @@ class ReftestArgumentsParser(argparse.Ar
                           "processes through refcounted objects (or bytes "
                           "in classes with MOZ_COUNT_CTOR and MOZ_COUNT_DTOR) "
                           "is greater than the given number")
 
         self.add_argument("--utility-path",
                           action="store",
                           type=str,
                           dest="utilityPath",
-                          default="bindir",
+                          default=self.build_obj.bindir if self.build_obj else None,
                           help="absolute path to directory containing utility "
                           "programs (xpcshell, ssltunnel, certutil)")
 
         self.add_argument("--total-chunks",
                           type=int,
                           dest="totalChunks",
                           help="how many chunks to split the tests up into")