• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 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
5from autotest_lib.server import utils
6
7AUTHOR = 'ejcaruso, samueltan, snanda'
8NAME = 'network_WiFi_WoWLAN'
9TIME = 'SHORT'
10TEST_TYPE = 'Server'
11DEPENDENCIES = 'wificell, servo, lucidsleep'
12ATTRIBUTES = 'suite:wifi_correctness_cros_core, suite:wifi_lucidsleep'
13
14DOC = """
15This test verifies that the NIC wakes the DUT up in dark resume upon receiving
16a packet which matches a pattern registered with shill before the last suspend.
17"""
18
19args_dict = utils.args_to_dict(args)
20servo_args = hosts.CrosHost.get_servo_arguments(args_dict)
21
22def run(machine):
23    host = hosts.create_host(machine, servo_args=servo_args)
24    job.run_test('network_WiFi_WoWLAN',
25                 host=host,
26                 raw_cmdline_args=args)
27
28parallel_simple(run, machines)
29