|
list | ZSTD_SYMLINKS |
|
dict | EXCLUDED_DIRS |
|
dict | EXCLUDED_BASENAMES |
|
list | EXCLUDED_SUFFIXES |
|
| TestSuites = typing.Dict[str, typing.List[str]] |
|
| CLI_TEST_DIR = os.path.dirname(sys.argv[0]) |
|
| REPO_DIR = os.path.join(CLI_TEST_DIR, "..", "..") |
|
| PROGRAMS_DIR = os.path.join(REPO_DIR, "programs") |
|
| TESTS_DIR = os.path.join(REPO_DIR, "tests") |
|
| ZSTD_PATH = os.path.join(PROGRAMS_DIR, "zstd") |
|
| ZSTDGREP_PATH = os.path.join(PROGRAMS_DIR, "zstdgrep") |
|
| ZSTDLESS_PATH = os.path.join(PROGRAMS_DIR, "zstdless") |
|
| DATAGEN_PATH = os.path.join(TESTS_DIR, "datagen") |
|
| parser |
|
| action |
|
| help |
|
| default |
|
| type |
|
| int |
|
| nargs |
|
| args = parser.parse_args() |
|
| timeout |
|
| test_dir |
|
| bin_dir = os.path.abspath(os.path.join(args.test_dir, "bin")) |
|
| zstd_symlink_dir = os.path.join(bin_dir, "symlinks") |
|
| scratch_dir = os.path.join(args.test_dir, "scratch") |
|
dict | env = {} |
|
| opts |
|
TestSuites | tests = get_all_tests(opts) |
|
bool | success = run_tests(tests, opts) |
|