Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Unified Diff: server/site_tests/network_WiFiMatFunc/network_WiFiMatFunc.py

Issue 1696006: Integrate with autotest log. (Closed)
Patch Set: Iterate Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « server/site_tests/network_WiFiMatFunc/control ('k') | server/site_tests/network_WiFiSecMat/control » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: server/site_tests/network_WiFiMatFunc/network_WiFiMatFunc.py
diff --git a/server/site_tests/network_WiFiMatFunc/network_WiFiMatFunc.py b/server/site_tests/network_WiFiMatFunc/network_WiFiMatFunc.py
new file mode 100644
index 0000000000000000000000000000000000000000..761558064ef33d072ccc2ffcbef001043f8404a5
--- /dev/null
+++ b/server/site_tests/network_WiFiMatFunc/network_WiFiMatFunc.py
@@ -0,0 +1,37 @@
+# Copyright (c) 2010 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.
+
+"""WiFiMatFunc is a suite of 3-machine tests to validate basic WiFi functionality.
+One client, one server, and one programmable WiFi AP/Router are required
+(either off-the-shelf with a network-accesible CLI or a Linux/BSD system
+with a WiFi card that supports HostAP functionality).
+
+Configuration information to run_test:
+
+server - the IP address of the server (automatically filled in)
+client - the IP address of the client (automatically filled in)
+router - the IP address of the WiFi AP/Router and the names of the
+ wifi and wired devices to configure
+"""
+
+
+from autotest_lib.client.bin import utils
+from autotest_lib.client.common_lib import error
+from autotest_lib.server import autotest, site_wifitest, test
+
+
+class network_WiFiMatFunc(test.test):
+ version = 1
+
+ # The testcase config, setup, etc are done out side the individual
+ # test loop, in the control file.
+ def run_once(self, testcase, config):
+ try:
+ wt = site_wifitest.WiFiTest(testcase['name'], testcase['steps'], config)
+ wt.run()
+ except error.TestFail, tfe:
+ raise tfe
+ except Exception, e:
+ raise error.TestFail(e)
+
« no previous file with comments | « server/site_tests/network_WiFiMatFunc/control ('k') | server/site_tests/network_WiFiSecMat/control » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698