![]() |
Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
|
Functions | |
| hashfile (hasher, fname, blocksize=65536) | |
| log (text) | |
| execute (command, print_command=True, print_output=False, print_error=True, param_shell=True) | |
| does_command_exist (command) | |
| send_email (emails, topic, text, have_mutt, have_mail) | |
| send_email_with_attachments (branch, commit, last_commit, args, text, results_files, logFileName, have_mutt, have_mail) | |
| git_get_branches () | |
| git_get_changes (branch, commit, last_commit) | |
| get_last_results (resultsFileName) | |
| benchmark_and_compare (branch, commit, last_commit, args, executableName, md5sum, compilerVersion, resultsFileName, testFilePath, fileName, last_csize, last_cspeed, last_dspeed) | |
| update_config_file (branch, commit) | |
| double_check (branch, commit, args, executableName, md5sum, compilerVersion, resultsFileName, filePath, fileName) | |
| test_commit (branch, commit, last_commit, args, testFilePaths, have_mutt, have_mail) | |
Variables | |
| str | script_version = 'v1.7.2 (2016-11-08)' |
| str | default_repo_url = 'https://github.com/lz4/lz4.git' |
| str | working_dir_name = 'speedTest' |
| str | working_path = os.getcwd() + '/' + working_dir_name |
| str | clone_path = working_path + '/' + 'lz4' |
| str | email_header = 'lz4_speedTest' |
| pid = str(os.getpid()) | |
| bool | verbose = False |
| str | clang_version = "unknown" |
| str | gcc_version = "unknown" |
| args = None | |
| cwd | |
| parser = argparse.ArgumentParser() | |
| help | |
| default | |
| type | |
| float | |
| int | |
| dest | |
| action | |
| testFileNames = args.testFileNames.split() | |
| list | testFilePaths = [] |
| fileName = os.path.expanduser(fileName) | |
| have_mutt = does_command_exist("mutt -h") | |
| have_mail = does_command_exist("mail -V") | |
| str | pidfile = "./speedTest.pid" |
| str | branch = "" |
| str | commit = "" |
| bool | first_time = True |
| loadavg = os.getloadavg()[0] | |
| branches = git_get_branches() | |
| last_commit = update_config_file(branch, commit) | |
| stack = traceback.format_exc() | |
| str | email_topic = '[%s:%s] ERROR in %s:%s' % (email_header, pid, branch, commit) |
| benchmark_and_compare | ( | branch, | |
| commit, | |||
| last_commit, | |||
| args, | |||
| executableName, | |||
| md5sum, | |||
| compilerVersion, | |||
| resultsFileName, | |||
| testFilePath, | |||
| fileName, | |||
| last_csize, | |||
| last_cspeed, | |||
| last_dspeed ) |
| does_command_exist | ( | command | ) |
| double_check | ( | branch, | |
| commit, | |||
| args, | |||
| executableName, | |||
| md5sum, | |||
| compilerVersion, | |||
| resultsFileName, | |||
| filePath, | |||
| fileName ) |
| execute | ( | command, | |
| print_command = True, | |||
| print_output = False, | |||
| print_error = True, | |||
| param_shell = True ) |
| get_last_results | ( | resultsFileName | ) |
| git_get_branches | ( | ) |
| git_get_changes | ( | branch, | |
| commit, | |||
| last_commit ) |
| hashfile | ( | hasher, | |
| fname, | |||
| blocksize = 65536 ) |
| log | ( | text | ) |
| send_email | ( | emails, | |
| topic, | |||
| text, | |||
| have_mutt, | |||
| have_mail ) |
| send_email_with_attachments | ( | branch, | |
| commit, | |||
| last_commit, | |||
| args, | |||
| text, | |||
| results_files, | |||
| logFileName, | |||
| have_mutt, | |||
| have_mail ) |
| test_commit | ( | branch, | |
| commit, | |||
| last_commit, | |||
| args, | |||
| testFilePaths, | |||
| have_mutt, | |||
| have_mail ) |
| update_config_file | ( | branch, | |
| commit ) |
| action |
| args = None |
| str branch = "" |
| branches = git_get_branches() |
| clang_version = "unknown" |
| str clone_path = working_path + '/' + 'lz4' |
| commit = "" |
| cwd |
| default |
| str default_repo_url = 'https://github.com/lz4/lz4.git' |
| dest |
| str email_header = 'lz4_speedTest' |
| fileName = os.path.expanduser(fileName) |
| float |
| gcc_version = "unknown" |
| have_mail = does_command_exist("mail -V") |
| have_mutt = does_command_exist("mutt -h") |
| help | ( | void | ) |
| int |
| last_commit = update_config_file(branch, commit) |
| loadavg = os.getloadavg()[0] |
| parser = argparse.ArgumentParser() |
| pid = str(os.getpid()) |
| str pidfile = "./speedTest.pid" |
| str script_version = 'v1.7.2 (2016-11-08)' |
| stack = traceback.format_exc() |
| testFileNames = args.testFileNames.split() |
| list testFilePaths = [] |
| type |
| str working_dir_name = 'speedTest' |
| str working_path = os.getcwd() + '/' + working_dir_name |