1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hmz007 6d24f2138b
Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56)
3 years ago
..
.gitignore Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
Makefile Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
README.md Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
config.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
config.h Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
data.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
data.h Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
levels.h Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
method.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
method.h Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
result.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
result.h Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
results.csv Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago
test.c Rockchip Anroid12_SDK 20220721-rkr10 (e1522e56) 3 years ago

README.md

Regression tests

The regression tests run zstd in many scenarios and ensures that the size of the compressed results doesn't change. This helps us ensure that we don't accidentally regress zstd's compression ratio.

These tests get run every night by CircleCI. If the job fails you can read the diff printed by the job to ensure the change isn't a regression. If all is well you can download the results.csv artifact and commit the new results. Or you can rebuild it yourself following the instructions below.

Rebuilding results.csv

From the root of the zstd repo run:

# Build the zstd binary
make clean
make -j zstd

# Build the regression test binary
cd tests/regression
make clean
make -j test

# Run the regression test
./test --cache data-cache --zstd ../../zstd --output results.csv

# Check results.csv to ensure the new results are okay
git diff

# Then submit the PR