mirror of
https://github.com/facebook/zstd.git
synced 2025-07-28 00:01:53 +03:00
[test][regression] Add no source size with dictionary test
* Add a test that runs without a pledgedSrcSize and with a dictionary. * Add github.tar data with uses the github dictionary while compressing github.tar, instead of each file individually.
This commit is contained in:
@ -67,10 +67,27 @@ data_t github = {
|
||||
},
|
||||
};
|
||||
|
||||
data_t github_tar = {
|
||||
.name = "github.tar",
|
||||
.type = data_type_file,
|
||||
.data =
|
||||
{
|
||||
.url = REGRESSION_RELEASE("github.tar.zst"),
|
||||
.xxhash64 = 0xa9b1b44b020df292LL,
|
||||
},
|
||||
.dict =
|
||||
{
|
||||
.url = REGRESSION_RELEASE("github.dict.zst"),
|
||||
.xxhash64 = 0x1eddc6f737d3cb53LL,
|
||||
|
||||
},
|
||||
};
|
||||
|
||||
static data_t* g_data[] = {
|
||||
&silesia,
|
||||
&silesia_tar,
|
||||
&github,
|
||||
&github_tar,
|
||||
NULL,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user