[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
+5
-1
@@ -359,7 +359,11 @@ test-zstd test-zstd32 test-zstd-nolegacy test-zstd-dll: datagen
|
||||
test-cli-tests: ZSTD = $(PRGDIR)/zstd
|
||||
test-cli-tests: zstd datagen
|
||||
file $(ZSTD)
|
||||
./cli-tests/run.py --exec-prefix="$(QEMU_SYS)" --zstd="$(ZSTD)" --datagen=./datagen
|
||||
./cli-tests/run.py --exec-prefix="$(QEMU_SYS)" --zstd="$(ZSTD)" --datagen=./datagen $(CLI_TEST_ARGS)
|
||||
|
||||
.PHONY: update-cli-tests
|
||||
update-cli-tests: CLI_TEST_ARGS = --set-exact-output
|
||||
update-cli-tests: test-cli-tests
|
||||
|
||||
.PHONY: test-fullbench
|
||||
test-fullbench: fullbench datagen
|
||||
|
||||
Reference in New Issue
Block a user