Add separate control files for moblab AU tests.
client_utils.is_moblab() does not work. So just add a new control file
with moblab parameter.
BUG=chromium:936268
TEST=autoupdate_ForcedOOBEUpdate locally
Change-Id: Iad51ed14a87837ce66d28996f60b77850838f763
Reviewed-on: https://chromium-review.googlesource.com/1806149
Tested-by: David Haddock <dhaddock@chromium.org>
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org>
Reviewed-by: David Haddock <dhaddock@chromium.org>
diff --git a/server/site_tests/autoupdate_ForcedOOBEUpdate/autoupdate_ForcedOOBEUpdate.py b/server/site_tests/autoupdate_ForcedOOBEUpdate/autoupdate_ForcedOOBEUpdate.py
index 82aa3e5..48834a5 100644
--- a/server/site_tests/autoupdate_ForcedOOBEUpdate/autoupdate_ForcedOOBEUpdate.py
+++ b/server/site_tests/autoupdate_ForcedOOBEUpdate/autoupdate_ForcedOOBEUpdate.py
@@ -58,7 +58,8 @@
def run_once(self, full_payload=True, cellular=False,
- interrupt=None, max_updates=1, job_repo_url=None):
+ interrupt=None, max_updates=1, job_repo_url=None,
+ moblab=False):
"""
Runs a forced autoupdate during ChromeOS OOBE.
@@ -72,6 +73,7 @@
out the current build and the devserver to use.
The test will read this from a host argument
when run in the lab.
+ @param moblab: True if we are running on moblab.
"""
# veyron_rialto is a medical device with a different OOBE that auto
@@ -84,7 +86,8 @@
full_payload=full_payload,
critical_update=True,
public=cellular,
- max_updates=max_updates)
+ max_updates=max_updates,
+ moblab=moblab)
before = self._get_chromeos_version()
payload_info = None
if cellular: