Bug 1089002 - Replace 'appname' with 'app'. r=nalexander
authorMats Palmgren <mats@mozilla.com>
Fri, 24 Oct 2014 17:27:00 -0700
changeset 212507 b0956a9f57a9e9679056faefdf3f093aecef1a37
parent 212506 3cd24f004c1abbd303eb1899609d87739e0d7f9e
child 212508 df5af1c5126438acd76db1842e503fa6b8a58d2f
push id27717
push userkwierso@gmail.com
push dateTue, 28 Oct 2014 00:49:29 +0000
treeherdermozilla-central@a255a234946e [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersnalexander
bugs1089002
milestone36.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 1089002 - Replace 'appname' with 'app'. r=nalexander Fixes: ./mach reftest error: runreftest.py: error: could not find the application path, --appname must be specified
layout/tools/reftest/runreftest.py
--- a/layout/tools/reftest/runreftest.py
+++ b/layout/tools/reftest/runreftest.py
@@ -620,17 +620,17 @@ class ReftestOptions(OptionParser):
     addCommonOptions(self)
 
     self.add_option("--appname",
                     action = "store", type = "string", dest = "app",
                     help = "absolute path to application, overriding default")
     # Certain paths do not make sense when we're cross compiling Fennec.  This
     # logic is cribbed from the example in
     # python/mozbuild/mozbuild/mach_commands.py.
-    defaults['appname'] = build_obj.get_binary_path() if \
+    defaults['app'] = build_obj.get_binary_path() if \
         build_obj and build_obj.substs['MOZ_BUILD_APP'] != 'mobile/android' else None
 
     self.add_option("--extra-profile-file",
                     action = "append", dest = "extraProfileFiles",
                     default = [],
                     help = "copy specified files/dirs to testing profile")
     self.add_option("--timeout",
                     action = "store", dest = "timeout", type = "int",