test-zstd-speed.py: force to compile zstd32
This commit is contained in:
parent
59b86fc141
commit
c4b5106f7f
@ -169,7 +169,7 @@ def test_commit(branch, commit, last_commit, args, testFilePaths, have_mutt, hav
|
|||||||
local_branch = string.split(branch, '/')[1]
|
local_branch = string.split(branch, '/')[1]
|
||||||
version = local_branch.rpartition('-')[2] + '_' + commit
|
version = local_branch.rpartition('-')[2] + '_' + commit
|
||||||
if not args.dry_run:
|
if not args.dry_run:
|
||||||
execute('make -C programs clean zstd zstd32 MOREFLAGS="-DZSTD_GIT_COMMIT=%s"' % version)
|
execute('make -C programs clean zstd MOREFLAGS="-DZSTD_GIT_COMMIT=%s" && make -B -C programs zstd32 MOREFLAGS="-DZSTD_GIT_COMMIT=%s"' % (version, version))
|
||||||
logFileName = working_path + "/log_" + branch.replace("/", "_") + ".txt"
|
logFileName = working_path + "/log_" + branch.replace("/", "_") + ".txt"
|
||||||
text_to_send = []
|
text_to_send = []
|
||||||
results_files = ""
|
results_files = ""
|
||||||
@ -284,6 +284,7 @@ if __name__ == '__main__':
|
|||||||
email_topic = '%s:%s ERROR in %s:%s' % (email_header, pid, branch, commit)
|
email_topic = '%s:%s ERROR in %s:%s' % (email_header, pid, branch, commit)
|
||||||
send_email(args.emails, email_topic, stack, have_mutt, have_mail)
|
send_email(args.emails, email_topic, stack, have_mutt, have_mail)
|
||||||
print(stack)
|
print(stack)
|
||||||
|
time.sleep(args.sleepTime)
|
||||||
except KeyboardInterrupt:
|
except KeyboardInterrupt:
|
||||||
os.unlink(pidfile)
|
os.unlink(pidfile)
|
||||||
send_email(args.emails, email_header + ':%s test-zstd-speed.py has been stopped' % pid, args.message, have_mutt, have_mail)
|
send_email(args.emails, email_header + ':%s test-zstd-speed.py has been stopped' % pid, args.message, have_mutt, have_mail)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user