run_test should be able to run any autotest
From: Mandeep Singh Baines <msb@google.com>
Looks like the tabs got changed when this patch got applied.
Anyway, here is a patch.
git-svn-id: http://test.kernel.org/svn/autotest/trunk@752 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/samples/run_test b/server/samples/run_test
index f2ee60c..1220445 100644
--- a/server/samples/run_test
+++ b/server/samples/run_test
@@ -28,12 +28,12 @@
for flag, value in opts:
if flag == '-t':
test = value
- elif flag == '-l':
- logdir = value
+ elif flag == '-l':
+ logdir = value
if test == None or logdir == None:
- usage()
- sys.exit(1)
+ usage()
+ sys.exit(1)
print "Going to launch %s on %r with log dir of %s." % (test, machines, logdir)
parallel_simple(run, machines)