I have attached the patch for the packaging system.
The documentation is available at : http://test.kernel.org/autotest/PackagingSystem
Signed-off-by: Ashwin Ganti <aganti@google.com>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@1953 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/tests/sparse/sparse.py b/client/tests/sparse/sparse.py
index 253675c..1cf427b 100755
--- a/client/tests/sparse/sparse.py
+++ b/client/tests/sparse/sparse.py
@@ -6,6 +6,10 @@
class sparse(test.test):
version = 1
+ def initialize(self):
+ self.job.require_gcc()
+
+
# http://www.codemonkey.org.uk/projects/git-snapshots/sparse/sparse-2006-04-28.tar.gz
def setup(self, tarball = 'sparse-2006-04-28.tar.gz'):
tarball = utils.unmap_url(self.bindir, tarball, self.tmpdir)
@@ -17,6 +21,7 @@
self.top_dir = self.job.tmpdir+'/sparse'
+
def execute(self, base_tree, patches, config, config_list = None):
kernel = self.job.kernel(base_tree, self.resultsdir)
kernel.patch(patches)