blob: 2be1734607cd47ee3cad872774d7afe4db82f8d3 [file] [log] [blame]
mbligh05269362007-10-16 16:58:11 +00001# Copyright Martin J. Bligh, Andy Whitcroft, 2007
2#
mblighea397bb2008-02-02 19:17:51 +00003# Define the server-side test class
mbligh05269362007-10-16 16:58:11 +00004#
mbligh05269362007-10-16 16:58:11 +00005
mblighea397bb2008-02-02 19:17:51 +00006import os
7
mbligh05269362007-10-16 16:58:11 +00008from subcommand import *
mblighf31b0c02007-11-29 18:19:22 +00009from common.error import *
mbligh05269362007-10-16 16:58:11 +000010from utils import *
11
mblighea397bb2008-02-02 19:17:51 +000012import common.test
mbligh05269362007-10-16 16:58:11 +000013
14
mblighea397bb2008-02-02 19:17:51 +000015class test(common.test.base_test):
16 pass
mblighdccabe32008-02-01 17:39:32 +000017
18
mblighea397bb2008-02-02 19:17:51 +000019testname = common.test.testname
mbligh05269362007-10-16 16:58:11 +000020
21
22def runtest(job, url, tag, args, dargs):
mblighea397bb2008-02-02 19:17:51 +000023 t = subcommand(common.test.runtest,
24 [job, url, tag, args, dargs, locals(), globals()])
mbligh05269362007-10-16 16:58:11 +000025 t.fork_start()
26 t.fork_waitfor()