Please forget this patch. The format is wrong. I sent another one.

On Fri, Dec 18, 2009 at 12:04 PM, Tom Wai-Hong Tam (談偉航) <[email protected]
> wrote:

> 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>
>
> diff --git a/client/tests/compilebench/compilebench.patch
> b/client/tests/compilebench/compilebench.patch
> new file mode 100644
> index 0000000..29d9b87
> --- /dev/null
> +++ b/client/tests/compilebench/compilebench.patch
> @@ -0,0 +1,8 @@
> +--- src/compilebench-orig      2009-12-17 19:22:21.000000000 +0800
> ++++ src/compilebench   2009-12-17 19:26:04.000000000 +0800
> +@@ -1,4 +1,4 @@
> +-#!/usr/bin/env python2.4
> ++#!/usr/bin/env python
> + #
> + # sample usage: compilebench -D some_working_dir see compilebench -h for
> more
> + #
> 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 @@ class compilebench(test.test):
>      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):
>
>
_______________________________________________
Autotest mailing list
[email protected]
http://test.kernel.org/cgi-bin/mailman/listinfo/autotest

Reply via email to