Skip to content

Commit 4ed097f

Browse files
committed
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 <[email protected]>
1 parent fd69503 commit 4ed097f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testcases/OpTestKernelTest.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ def runTest(self):
217217
self.con.run_command("cd {}".format(self.home))
218218
if not self.branch:
219219
self.branch='master'
220-
self.con.run_command("git clone --depth 1 -b {} {} linux".format( self.branch, self.repo),timeout=3000)
220+
self.con.run_command("git clone -b {} {} linux".format( self.branch, self.repo),timeout=3000)
221221
self.con.run_command("cd linux")
222222
commit = self.con.run_command(" git log -1 --format=%H | sed -r 's/\x1B\[[0-9:]*[JKsu]//g'")
223223
self.con.run_command("cd ..")
@@ -271,7 +271,7 @@ def runTest(self):
271271
self.con.run_command("cd {}".format(self.home))
272272
if not self.branch:
273273
self.branch='master'
274-
self.con.run_command("git clone --depth 1 -b {} {} linux".format( self.branch, self.repo),timeout=3000)
274+
self.con.run_command("git clone -b {} {} linux".format( self.branch, self.repo),timeout=3000)
275275
self.con.run_command("cd linux")
276276
commit = self.con.run_command(" git log -1 --format=%H | sed -r 's/\x1B\[[0-9:]*[JKsu]//g'")
277277
self.con.run_command("cd ..")

0 commit comments

Comments
 (0)