From 4ed097fa2f525080e6490cd5c21a3789282514b8 Mon Sep 17 00:00:00 2001 From: Abdul Haleem Date: Mon, 18 Nov 2024 17:24:59 +0530 Subject: [PATCH] Remove the depth to 1 for bisection As --depth will not have git history, so for bisection the script needs the full history so we removed depth 1 Signed-off-by: Abdul Haleem --- testcases/OpTestKernelTest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testcases/OpTestKernelTest.py b/testcases/OpTestKernelTest.py index f163e81f..3ab2ad32 100644 --- a/testcases/OpTestKernelTest.py +++ b/testcases/OpTestKernelTest.py @@ -217,7 +217,7 @@ def runTest(self): self.con.run_command("cd {}".format(self.home)) if not self.branch: self.branch='master' - self.con.run_command("git clone --depth 1 -b {} {} linux".format( self.branch, self.repo),timeout=3000) + self.con.run_command("git clone -b {} {} linux".format( self.branch, self.repo),timeout=3000) self.con.run_command("cd linux") commit = self.con.run_command(" git log -1 --format=%H | sed -r 's/\x1B\[[0-9:]*[JKsu]//g'") self.con.run_command("cd ..") @@ -271,7 +271,7 @@ def runTest(self): self.con.run_command("cd {}".format(self.home)) if not self.branch: self.branch='master' - self.con.run_command("git clone --depth 1 -b {} {} linux".format( self.branch, self.repo),timeout=3000) + self.con.run_command("git clone -b {} {} linux".format( self.branch, self.repo),timeout=3000) self.con.run_command("cd linux") commit = self.con.run_command(" git log -1 --format=%H | sed -r 's/\x1B\[[0-9:]*[JKsu]//g'") self.con.run_command("cd ..")