Lines Matching defs:last_commit

89 def send_email_with_attachments(branch, commit, last_commit, args, text, results_files,
94 email_topic = '[%s:%s] Warning for %s:%s last_commit=%s speed<%s ratio<%s' \
95 % (email_header, pid, branch, commit, last_commit,
116 def git_get_changes(branch, commit, last_commit):
118 if last_commit is None:
121 commits = execute('git --no-pager log %s %s..%s' % (fmt, last_commit, commit))
122 return str('Changes in %s since %s:\n' % (branch, last_commit)) + '\n'.join(commits)
147 def benchmark_and_compare(branch, commit, last_commit, args, executableName, md5sum, compilerVersion, resultsFileName,
178 text = args.message + ("\nmaxLoadAvg=%s load average at start=%s end=%s\n%s last_commit=%s md5=%s\n" % (args.maxLoadAvg, start_load, end_load, compilerVersion, last_commit, md5sum)) + text
183 last_commit = None
187 last_commit = infile.read()
190 return last_commit
194 last_commit, csize, cspeed, dspeed = get_last_results(resultsFileName)
196 text = benchmark_and_compare(branch, commit, last_commit, args, executableName, md5sum, compilerVersion, resultsFileName, filePath, fileName, csize, cspeed, dspeed)
199 text = benchmark_and_compare(branch, commit, last_commit, args, executableName, md5sum, compilerVersion, resultsFileName, filePath, fileName, csize, cspeed, dspeed)
203 def test_commit(branch, commit, last_commit, args, testFilePaths, have_mutt, have_mail):
238 send_email_with_attachments(branch, commit, last_commit, args, text_to_send, results_files, logFileName, have_mutt, have_mail)
333 last_commit = update_config_file(branch, commit)
334 if commit == last_commit:
337 log("build branch %s: head %s is different from prev %s" % (branch, commit, last_commit))
339 print(git_get_changes(branch, commit, last_commit))
340 test_commit(branch, commit, last_commit, args, testFilePaths, have_mutt, have_mail)