summaryrefslogtreecommitdiff
path: root/server/autoserv_parser.py
diff options
context:
space:
mode:
authormbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4>2008-07-24 20:25:57 +0000
committermbligh <mbligh@592f7852-d20e-0410-864c-8624ca9c26a4>2008-07-24 20:25:57 +0000
commit29871f87db2684a063eb6049841bd86b8dfec0ce (patch)
treefc81ab64beba4487e1f515b20854ec21eebad072 /server/autoserv_parser.py
parent8528d9c6d03ee13824dbaf0e323965c277b6dd2b (diff)
Added the aditional -s flag which specifies that a test is server side.
Will be ignored unless -c is also specified and will then throw an error. Signed-off-by: Travis Miller <raphtee@google.com> git-svn-id: svn://test.kernel.org/autotest/trunk@1898 592f7852-d20e-0410-864c-8624ca9c26a4
Diffstat (limited to 'server/autoserv_parser.py')
-rw-r--r--server/autoserv_parser.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/autoserv_parser.py b/server/autoserv_parser.py
index 335856c8..e9f78351 100644
--- a/server/autoserv_parser.py
+++ b/server/autoserv_parser.py
@@ -28,6 +28,9 @@ class base_autoserv_parser(object):
self.parser.add_option("-c", action="store_true",
dest="client", default=False,
help="control file is client side")
+ self.parser.add_option("-s", action="store_true",
+ dest="server", default=False,
+ help="control file is server side")
self.parser.add_option("-r", action="store", type="string",
dest="results", default='.',
help="specify results directory")