From b303489f91401404041a9028cd5d5d8bcf96f2ed Mon Sep 17 00:00:00 2001 From: Tejas Manhas Date: Mon, 25 Mar 2024 13:38:21 +0530 Subject: [PATCH] checking good commit Signed-off-by: Tejas Manhas --- testcases/Test_build.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/testcases/Test_build.py b/testcases/Test_build.py index d6aa884d..c29bf5c4 100644 --- a/testcases/Test_build.py +++ b/testcases/Test_build.py @@ -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") @@ -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 \ No newline at end of file