mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 10:37:23 -07:00
split slow tests
This commit is contained in:
parent
e7d67fc2b0
commit
782feb934a
9 changed files with 43 additions and 17 deletions
|
@ -1716,19 +1716,21 @@ static int CmdEMVList(const char *Cmd) {
|
|||
static int CmdEMVTest(const char *Cmd) {
|
||||
CLIParserInit("emv test",
|
||||
"Executes tests\n",
|
||||
"Usage:\n\temv test\n");
|
||||
"Usage:\n\temv test [l]\n");
|
||||
|
||||
void *argtable[] = {
|
||||
arg_param_begin,
|
||||
arg_lit0("iI", "ignore", "ignore timing tests for VM"),
|
||||
arg_lit0("lL", "long", "run long tests too"),
|
||||
arg_param_end
|
||||
};
|
||||
CLIExecWithReturn(Cmd, argtable, true);
|
||||
|
||||
bool ignoreTimeTest = arg_get_lit(1);
|
||||
bool runSlowTests = arg_get_lit(2);
|
||||
CLIParserFree();
|
||||
|
||||
return ExecuteCryptoTests(true, ignoreTimeTest);
|
||||
return ExecuteCryptoTests(true, ignoreTimeTest, runSlowTests);
|
||||
}
|
||||
|
||||
static int CmdEMVRoca(const char *Cmd) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue