Skip to content

Commit

Permalink
checking good commit
Browse files Browse the repository at this point in the history
Signed-off-by: Tejas Manhas <[email protected]>
  • Loading branch information
Tejas Manhas authored and Tejas Manhas committed Mar 25, 2024
1 parent 1749f8b commit b303489
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions testcases/Test_build.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ def runTest(self):
self.connection.run_command("git clone --depth 1 {} -b {}".format(self.repo, self.branch))
self.connection.run_command("cd linux")
commit = self.connection.run_command("export 'TERM=xterm-256color';git log -1 --format=%H")
log.info(commit)
self.connection.run_command("cd ..")
self.connection.run_command("wget http://ltc-jenkins.aus.stglabs.ibm.com:81/abdul/ioci/kernel_config -o linux/.config")
self.connection.run_command("cd linux && make olddefconfig")
Expand All @@ -127,6 +128,7 @@ def runTest(self):
else :
email1=""
commiti=commit[-1]
log.info(commiti)
with open('output.json','w') as f:
json.dump({"exit_code":exit_code,"email":email1,"commit": commiti,"error":entry},f)
return exit_code

0 comments on commit b303489

Please sign in to comment.