mirror of
https://github.com/facebook/zstd.git
synced 2025-07-30 22:23:13 +03:00
Merge pull request #3020 from terrelln/cli-tests
Add new CLI testing platform
This commit is contained in:
@ -807,9 +807,7 @@ int main(int argCount, const char* argv[])
|
||||
separateFiles = 0,
|
||||
setRealTimePrio = 0,
|
||||
singleThread = 0,
|
||||
#ifdef ZSTD_MULTITHREAD
|
||||
defaultLogicalCores = 0,
|
||||
#endif
|
||||
showDefaultCParams = 0,
|
||||
ultra=0,
|
||||
contentSize=1;
|
||||
@ -1002,7 +1000,6 @@ int main(int argCount, const char* argv[])
|
||||
if (longCommandWArg(&argument, "--target-compressed-block-size=")) { targetCBlockSize = readSizeTFromChar(&argument); continue; }
|
||||
if (longCommandWArg(&argument, "--size-hint=")) { srcSizeHint = readSizeTFromChar(&argument); continue; }
|
||||
if (longCommandWArg(&argument, "--output-dir-flat")) { NEXT_FIELD(outDirName); continue; }
|
||||
#ifdef ZSTD_MULTITHREAD
|
||||
if (longCommandWArg(&argument, "--auto-threads")) {
|
||||
const char* threadDefault = NULL;
|
||||
NEXT_FIELD(threadDefault);
|
||||
@ -1010,7 +1007,6 @@ int main(int argCount, const char* argv[])
|
||||
defaultLogicalCores = 1;
|
||||
continue;
|
||||
}
|
||||
#endif
|
||||
#ifdef UTIL_HAS_MIRRORFILELIST
|
||||
if (longCommandWArg(&argument, "--output-dir-mirror")) { NEXT_FIELD(outMirroredDirName); continue; }
|
||||
#endif
|
||||
@ -1226,7 +1222,7 @@ int main(int argCount, const char* argv[])
|
||||
}
|
||||
}
|
||||
#else
|
||||
(void)singleThread; (void)nbWorkers;
|
||||
(void)singleThread; (void)nbWorkers; (void)defaultLogicalCores;
|
||||
#endif
|
||||
|
||||
g_utilDisplayLevel = g_displayLevel;
|
||||
|
Reference in New Issue
Block a user