A simple patch to propagate user args (autoserv -a/--args) to the
client-side control file.
From 52ac9e7baf2a3448c4fffa384be72eedc6f55982 Mon Sep 17 00:00:00 2001
From: Darin Petkov <[email protected]>
Date: Fri, 26 Mar 2010 14:37:16 -0700
Subject: [PATCH] Propagate user args to the client-side control file.
---
server/autotest.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/server/autotest.py b/server/autotest.py
index c35f4a1..e998234 100644
--- a/server/autotest.py
+++ b/server/autotest.py
@@ -357,6 +357,9 @@ class BaseAutotest(installable_object.InstallableObject):
# build up the initialization prologue for the control file
prologue_lines = []
+ # Add the additional user arguments
+ prologue_lines.append("args = %s\n" % self.job._args)
+
# If the packaging system is being used, add the repository list.
repos = None
try:
--
1.7.0.1
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest