1 # Copyright 2015 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 from autotest_lib.server import utils 6 7 AUTHOR = 'ejcaruso, samueltan, snanda' 8 NAME = 'network_WiFi_WakeOnSSID' 9 TIME = 'SHORT' 10 TEST_TYPE = 'Server' 11 DEPENDENCIES = 'wificell, servo, lucidsleep' 12 ATTRIBUTES = 'suite:wifi_correctness_cros_core, suite:wifi_lucidsleep' 13 SUITE = 'wifi_correctness_cros_core, wifi_lucidsleep' 14 15 DOC = """ 16 This test verifies that the NIC wakes the DUT up in dark resume on the 17 appearance of a whitelisted SSID if it previously suspended disconnected. 18 """ 19 20 args_dict = utils.args_to_dict(args) 21 servo_args = hosts.CrosHost.get_servo_arguments(args_dict) 22 23 def run(machine): 24 host = hosts.create_host(machine, servo_args=servo_args) 25 job.run_test('network_WiFi_WakeOnSSID', 26 host=host, 27 raw_cmdline_args=args) 28 29 parallel_simple(run, machines) 30