Rizin
unix-like reverse engineering framework and cli tools
test-lz4-versions.py File Reference

Go to the source code of this file.

Namespaces

 test-lz4-versions
 
 test
 -lz4-versions
 

Functions

def test-lz4-versions.proc (cmd_args, pipe=True, dummy=False)
 
def test-lz4-versions.make (args, pipe=True)
 
def test-lz4-versions.git (args, pipe=True)
 
def test-lz4-versions.get_git_tags ()
 
def test-lz4-versions.sha1_of_file (filepath)
 

Variables

string test-lz4-versions.repo_url = 'https://github.com/lz4/lz4.git'
 
string test-lz4-versions.tmp_dir_name = 'tests/versionsTest'
 
string test-lz4-versions.make_cmd = 'make'
 
string test-lz4-versions.git_cmd = 'git'
 
string test-lz4-versions.test_dat_src = 'README.md'
 
string test-lz4-versions.test_dat = 'test_dat'
 
string test-lz4-versions.head = 'v999'
 
int test-lz4-versions.error_code = 0
 
string test-lz4-versions.base_dir = os.getcwd() + '/..'
 
string test-lz4-versions.tmp_dir = base_dir + '/' + tmp_dir_name
 
string test-lz4-versions.clone_dir = tmp_dir + '/' + 'lz4'
 
string test-lz4-versions.programs_dir = base_dir + '/programs'
 
 test-lz4-versions.exist_ok
 
list test-lz4-versions.tags = [head] + get_git_tags()
 
string test-lz4-versions.dst_lz4c = '{}/lz4c.{}' .format(tmp_dir, tag)
 
string test-lz4-versions.dst_lz4c32 = '{}/lz4c32.{}'.format(tmp_dir, tag)
 
string test-lz4-versions.r_dir = '{}/{}'.format(tmp_dir, tag)
 
 test-lz4-versions.lz4s = sorted(glob.glob('*.lz4'))
 
 test-lz4-versions.lz4t = lz4s[j]
 
 test-lz4-versions.lz4
 
 test-lz4-versions.end
 
 test-lz4-versions.tag
 
 test-lz4-versions.decs = glob.glob('*.dec')