Add a patch to remove the Python version of Compliebench.
 Compilebench restricted it to 2.4.

Signed-off-by: Tom Wai-Hong Tam <waihong at google.com>


git-svn-id: http://test.kernel.org/svn/autotest/trunk@4027 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/client/tests/compilebench/compilebench.py b/client/tests/compilebench/compilebench.py
index 4721011..09931c7 100755
--- a/client/tests/compilebench/compilebench.py
+++ b/client/tests/compilebench/compilebench.py
@@ -10,6 +10,8 @@
     def setup(self, tarball = 'compilebench-0.6.tar.gz'):
         self.tarball = utils.unmap_url(self.bindir, tarball, self.tmpdir)
         utils.extract_tarball_to_dir(self.tarball, self.srcdir)
+        os.chdir(self.srcdir)
+        utils.system('patch -p1 < ../compilebench.patch')
 
 
     def run_once(self, dir=None, num_kernel_trees=10, num_random_runs=30):