Add workaround for R12 so platform_Shutdown works.

BUG=none
TEST=Ran run_remote_tests.

Change-Id: I290ee2705362bc4b9e676ec7c08fec861a2e8d15
Reviewed-on: http://gerrit.chromium.org/gerrit/459
Tested-by: Eric Li <ericli@chromium.org>
Reviewed-by: Eric Li <ericli@chromium.org>
Tested-by: Dale Curtis <dalecurtis@chromium.org>
diff --git a/server/hosts/chromiumos_host.py b/server/hosts/chromiumos_host.py
index 85ad9d3..5a72b93 100644
--- a/server/hosts/chromiumos_host.py
+++ b/server/hosts/chromiumos_host.py
@@ -79,6 +79,11 @@
                     ' kernel as successful.'),
                 timeout=_KERNEL_UPDATE_TIMEOUT, sleep_interval=5)
 
+            # TODO(dalecurtis): Hack for R12 builds to make sure BVT runs of
+            # platform_Shutdown pass correctly.
+            if int(updater.update_version.split('.')[1]) == 12:
+                self.reboot(timeout=60, wait=True)
+
         # Clean up any old autotest directories which may be lying around.
         for path in global_config.global_config.get_config_value(
                 'AUTOSERV', 'client_autodir_paths', type=list):