Parolin 0.7.9 6796
Console (soon DLLs) to do a tar like job
Loading...
Searching...
No Matches
test-lz4-abi Namespace Reference

Functions

 debug_message (msg)
 
 proc (cmd_args, pipe=True, env=False)
 
 make (args, pipe=True, env=False)
 
 git (args, pipe=True)
 
 get_git_tags ()
 
 sha1_of_file (filepath)
 

Variables

str repo_url = 'https://github.com/lz4/lz4.git'
 
str tmp_dir_name = 'tests/abiTests'
 
str env_flags = ' '
 
str make_cmd = 'make'
 
str git_cmd = 'git'
 
list test_dat_src = ['README.md']
 
str head = 'v999'
 
 parser = argparse.ArgumentParser()
 
 action
 
 help
 
 args = parser.parse_args()
 
int error_code = 0
 
str base_dir = os.getcwd() + '/..'
 
str tmp_dir = base_dir + '/' + tmp_dir_name
 
str clone_dir = tmp_dir + '/' + 'lz4'
 
str lib_dir = base_dir + '/lib'
 
str test_dir = base_dir + '/tests'
 
 exist_ok
 
list tags = [head] + get_git_tags()
 
str r_dir = '{}/{}'.format(tmp_dir, tag)
 
 build_env = os.environ.copy()
 
 env
 
 pipe
 
 run_env = os.environ.copy()
 
 False
 

Function Documentation

◆ debug_message()

debug_message ( msg)

◆ get_git_tags()

get_git_tags ( )

◆ git()

git ( args,
pipe = True )

◆ make()

make ( args,
pipe = True,
env = False )

◆ proc()

proc ( cmd_args,
pipe = True,
env = False )

◆ sha1_of_file()

sha1_of_file ( filepath)

Variable Documentation

◆ action

action

◆ args

args = parser.parse_args()

◆ base_dir

str base_dir = os.getcwd() + '/..'

◆ build_env

build_env = os.environ.copy()

◆ clone_dir

str clone_dir = tmp_dir + '/' + 'lz4'

◆ env

env

◆ env_flags

str env_flags = ' '

◆ error_code

int error_code = 0

◆ exist_ok

exist_ok

◆ False

False

◆ git_cmd

str git_cmd = 'git'

◆ head

str head = 'v999'

◆ help

help ( void )

◆ lib_dir

str lib_dir = base_dir + '/lib'

◆ make_cmd

str make_cmd = 'make'

◆ parser

parser = argparse.ArgumentParser()

◆ pipe

pipe

◆ r_dir

r_dir = '{}/{}'.format(tmp_dir, tag)

◆ repo_url

str repo_url = 'https://github.com/lz4/lz4.git'

◆ run_env

run_env = os.environ.copy()

◆ tags

list tags = [head] + get_git_tags()

◆ test_dat_src

test_dat_src = ['README.md']

◆ test_dir

str test_dir = base_dir + '/tests'

◆ tmp_dir

tmp_dir = base_dir + '/' + tmp_dir_name

◆ tmp_dir_name

str tmp_dir_name = 'tests/abiTests'