Home | History | Annotate | Download | only in platform_Powerwash
      1 # Copyright (c) 2014 The Chromium OS Authors. All rights reserved.
      2 # Use of this source code is governed by a BSD-style license that can be
      3 # found in the LICENSE file.
      4 
      5 AUTHOR = "deymo, chromeos-installer (a] google.com"
      6 NAME = "platform_Powerwash"
      7 TIME = "SHORT"
      8 TEST_CATEGORY = "Functional"
      9 TEST_CLASS = "platform"
     10 TEST_TYPE = "server"
     11 ATTRIBUTES = "suite:au"
     12 SUITE = "au"
     13 BUG_TEMPLATE = {
     14     'cc': ['chromeos-installer-alerts (a] google.com'],
     15     'labels': ['Cr-Internals-Installer'],
     16 }
     17 
     18 DOC = """
     19 Tests that a device runs powerwash on the first reboot after the powerwash was
     20 signaled. The test verifies that a given file on the stateful partition is
     21 deleted during powerwash and that the powerwash counter is increased.
     22 
     23 Example usage:
     24 test_that platform_Powerwash <eureka/cros/beaglobonedevice ip> --board=<board>
     25 """
     26 
     27 def run_test(machine):
     28     host = hosts.create_host(machine)
     29     job.run_test("platform_Powerwash", host=host, disable_sysinfo=True)
     30 
     31 parallel_simple(run_test, machines)
     32