• Home
  • Raw
  • Download

Lines Matching full:zstd

2 """Test zstd interoperability between versions"""
23 repo_url = 'https://github.com/facebook/zstd.git'
32 …ict_files = './zstd/programs/*.c ./zstd/lib/common/*.c ./zstd/lib/compress/*.c ./zstd/lib/decompre…
33 dict_files += './zstd/programs/*.h ./zstd/lib/common/*.h ./zstd/lib/compress/*.h ./zstd/lib/dictBui…
85 …result = execute('./zstd.' + tag + ' -f --train ' + ' '.join(cFiles) + ' ' + ' '.join(hFiles) + ' …
97 if subprocess.call(['./zstd.' + tag, '-D', dict_name, '-f', sample], stderr=DEVNULL) == 0:
99 if subprocess.call(['./zstd.' + tag, '-D', dict_name, '-5f', sample], stderr=DEVNULL) == 0:
101 if subprocess.call(['./zstd.' + tag, '-D', dict_name, '-9f', sample], stderr=DEVNULL) == 0:
103 if subprocess.call(['./zstd.' + tag, '-D', dict_name, '-15f', sample], stderr=DEVNULL) == 0:
105 if subprocess.call(['./zstd.' + tag, '-D', dict_name, '-18f', sample], stderr=DEVNULL) == 0:
114 if subprocess.call(['./zstd.' + tag, '-f', sample], stderr=DEVNULL) == 0:
116 if subprocess.call(['./zstd.' + tag, '-5f', sample], stderr=DEVNULL) == 0:
118 if subprocess.call(['./zstd.' + tag, '-9f', sample], stderr=DEVNULL) == 0:
120 if subprocess.call(['./zstd.' + tag, '-15f', sample], stderr=DEVNULL) == 0:
122 if subprocess.call(['./zstd.' + tag, '-18f', sample], stderr=DEVNULL) == 0:
157 params = ['./zstd.' + tag, '-df', file_zst, file_dec]
159 params = ['./zstd.' + tag, '-df', file_zst, '-o', file_dec]
187 params = ['./zstd.' + tag, '-D', dict_name, '-df', file_zst, file_dec]
189 params = ['./zstd.' + tag, '-D', dict_name, '-df', file_zst, '-o', file_dec]
204 base_dir = os.getcwd() + '/..' # /path/to/zstd
205 tmp_dir = base_dir + '/' + tmp_dir_name # /path/to/zstd/tests/versionsTest
206 clone_dir = tmp_dir + '/' + 'zstd' # /path/to/zstd/tests/versionsTest/zstd
207 dict_source_path = tmp_dir + '/' + dict_source # /path/to/zstd/tests/versionsTest/dict_source
208 programs_dir = base_dir + '/programs' # /path/to/zstd/programs
224 # Build all release zstd
227 dst_zstd = '{}/zstd.{}'.format(tmp_dir, tag) # /path/to/zstd/tests/versionsTest/zstd.<TAG>
233 r_dir = '{}/{}'.format(tmp_dir, tag) # /path/to/zstd/tests/versionsTest/<TAG>
238 … os.chdir(r_dir + '/dictBuilder') # /path/to/zstd/tests/versionsTest/v0.5.0/dictBuilder
242 os.chdir(r_dir + '/programs') # /path/to/zstd/tests/versionsTest/<TAG>/programs
244 make(['zstd'], False)
250 make(['zstd'], False)
251 shutil.copy2('zstd', dst_zstd)
267 print('Compress test.dat by all released zstd')
285 for zstd in zstds:
286 print(zstd + ' : ' + repr(os.path.getsize(zstd)) + ', ' + sha1_of_file(zstd))