Working on the Red Hat kernel fixes, I've spotted a bug on the kernel code: on the function build_timed, there's a call to kernel.clean() with a logged parameter, which doesn't exist on the actual function. Let's fix it.
Changes from v1: * Fixed kernel_unittest.py Signed-off-by: Lucas Meneghel Rodrigues <[email protected]> --- client/bin/kernel.py | 2 +- client/bin/kernel_unittest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client/bin/kernel.py b/client/bin/kernel.py index 4b333ea..2519272 100644 --- a/client/bin/kernel.py +++ b/client/bin/kernel.py @@ -374,7 +374,7 @@ class kernel(BootableKernel): os.chdir(self.build_dir) self.set_cross_cc() - self.clean(logged=False) + self.clean() build_string = "/usr/bin/time -o %s make %s -j %s vmlinux" \ % (timefile, make_opts, threads) build_string += ' > %s 2>&1' % output diff --git a/client/bin/kernel_unittest.py b/client/bin/kernel_unittest.py index fe40e6a..838bda8 100755 --- a/client/bin/kernel_unittest.py +++ b/client/bin/kernel_unittest.py @@ -475,7 +475,7 @@ class TestKernel(unittest.TestCase): # record os.chdir.expect_call(self.build_dir) self.kernel.set_cross_cc.expect_call() - self.kernel.clean.expect_call(logged=False) + self.kernel.clean.expect_call() build_string = "/usr/bin/time -o /dev/null make -j 8 vmlinux" build_string += ' > /dev/null 2>&1' utils.system.expect_call(build_string) -- 1.7.2.3 _______________________________________________ Autotest mailing list [email protected] http://test.kernel.org/cgi-bin/mailman/listinfo/autotest
