blob: b7bdb23fcec940274a7e01586267f539c393b742 [file] [log] [blame]
# Copyright 2014 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
from autotest_lib.server import utils
AUTHOR = 'ejcaruso, samueltan, snanda'
NAME = 'network_WiFi_WoWLAN'
TIME = 'SHORT'
TEST_TYPE = 'Server'
DEPENDENCIES = 'wificell, servo, board:samus'
ATTRIBUTES = ('suite:wifi_correctness_cros_core, suite:wifi_matfunc, '
'suite:wifi_release, suite:wifi_lucidsleep')
SUITE = ('wifi_matfunc, wifi_correctness_cros_core, wifi_release, '
'wifi_lucidsleep')
DOC = """
This test verifies that the NIC wakes the DUT up in dark resume upon receiving
a packet which matches a pattern registered with shill before the last suspend.
"""
args_dict = utils.args_to_dict(args)
servo_args = hosts.CrosHost.get_servo_arguments(args_dict)
def run(machine):
host = hosts.create_host(machine, servo_args=servo_args)
job.run_test('network_WiFi_WoWLAN',
host=host,
raw_cmdline_args=args)
parallel_simple(run, machines)