Bug 1068989 - Always require --apkPath on Android;r=jmaher
authorWilliam Lachance <wlachance@mozilla.com>
Thu, 23 Oct 2014 14:02:21 -0400
changeset 813 ae356cdd2e37
parent 812 e2ca7449db07
child 814 9dfad0333c76
push id536
push userwlachance@mozilla.com
push dateThu, 23 Oct 2014 19:14:19 +0000
reviewersjmaher
bugs1068989
Bug 1068989 - Always require --apkPath on Android;r=jmaher
talos/PerfConfigurator.py
--- a/talos/PerfConfigurator.py
+++ b/talos/PerfConfigurator.py
@@ -421,20 +421,18 @@ the highest value.
         return Configuration.__call__(self, *args)
 
     def validate(self):
         """validate and finalize configuration"""
 
         self.config['remote'] = self.remote
 
         if self.remote:
-            if not self.config.get('develop') and \
-               not self.config.get('apk_path'):
-                raise ConfigurationError("Must specify --apkPath on remote "
-                                         "if not in development mode")
+            if not self.config.get('apk_path'):
+                raise ConfigurationError("Must specify --apkPath for Android")
 
             # setup remote
             deviceip = self.config.get('deviceip')
             deviceport = self.config['deviceport']
             if deviceip or deviceport == -1:
                 self._setupRemote(deviceip, deviceport)
 
             # fix webserver for --develop mode