mirror of
https://github.com/facebook/zstd.git
synced 2025-07-28 00:01:53 +03:00
[test] Add tests for determinism
Run compression & validate the compressed file matches a known checksum. To update the output run: ``` make -C tests update-cli-tests ```
This commit is contained in:
committed by
Nick Terrell
parent
0de4991942
commit
b16d193512
@ -705,6 +705,7 @@ if __name__ == "__main__":
|
||||
env["DATAGEN_BIN"] = os.path.abspath(args.datagen)
|
||||
env["ZSTDGREP_BIN"] = os.path.abspath(args.zstdgrep)
|
||||
env["ZSTDLESS_BIN"] = os.path.abspath(args.zstdless)
|
||||
env["CLI_TESTS"] = os.path.abspath(args.test_dir)
|
||||
env["COMMON"] = os.path.abspath(os.path.join(args.test_dir, "common"))
|
||||
env["PATH"] = bin_dir + ":" + os.getenv("PATH", "")
|
||||
env["LC_ALL"] = "C"
|
||||
|
Reference in New Issue
Block a user