fixed cmake tests

This commit is contained in:
Yann Collet
2017-01-02 02:05:45 +01:00
parent cdb2763f4a
commit 747452677d
3 changed files with 23 additions and 60 deletions
+6 -6
View File
@@ -422,6 +422,12 @@ int main(int argCount, const char* argv[])
BMK_SetBlockSize(bSize);
}
break;
/* nb of threads (hidden option) */
case 'T':
argument++;
BMK_SetNbThreads(readU32FromChar(&argument));
break;
#endif /* ZSTD_NOBENCH */
/* Dictionary Selection level */
@@ -430,12 +436,6 @@ int main(int argCount, const char* argv[])
dictSelect = readU32FromChar(&argument);
break;
/* nb of threads (hidden option) */
case 'T':
argument++;
BMK_SetNbThreads(readU32FromChar(&argument));
break;
/* Pause at the end (-p) or set an additional param (-p#) (hidden option) */
case 'p': argument++;
#ifndef ZSTD_NOBENCH