1
0
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:
Nick Terrell
2025-03-06 14:14:38 -05:00
committed by Nick Terrell
parent 0de4991942
commit b16d193512
15 changed files with 1339 additions and 1 deletions

View File

@ -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"