I need to be able to run many autotest instances on one machine and
I need to be able to have these tests run for an indeterminite amount
of time.
From: Jeremy Orlow <jorlow@google.com>
Signed-off-by: Martin Bligh <mbligh@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@1103 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/server/autotest.py b/server/autotest.py
index 682aa3d..f4c6c58 100644
--- a/server/autotest.py
+++ b/server/autotest.py
@@ -455,6 +455,9 @@
def _get_autodir(host):
+ dir = host.get_autodir()
+ if dir:
+ return dir
try:
# There's no clean way to do this. readlink may not exist
cmd = "python -c 'import os,sys; print os.readlink(sys.argv[1])' /etc/autotest.conf"