mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
add ignoring results of some tests
This commit is contained in:
parent
f7ae7f44ca
commit
c5ea6b54ce
3 changed files with 19 additions and 6 deletions
|
@ -1714,8 +1714,21 @@ static int CmdEMVList(const char *Cmd) {
|
|||
}
|
||||
|
||||
static int CmdEMVTest(const char *Cmd) {
|
||||
(void)Cmd; // Cmd is not used so far
|
||||
return ExecuteCryptoTests(true);
|
||||
CLIParserInit("emv test",
|
||||
"Executes tests\n",
|
||||
"Usage:\n\temv test\n");
|
||||
|
||||
void *argtable[] = {
|
||||
arg_param_begin,
|
||||
arg_lit0("iI", "ignore", "ignore timing tests for VM"),
|
||||
arg_param_end
|
||||
};
|
||||
CLIExecWithReturn(Cmd, argtable, true);
|
||||
|
||||
bool ignoreTimeTest = arg_get_lit(1);
|
||||
CLIParserFree();
|
||||
|
||||
return ExecuteCryptoTests(true, ignoreTimeTest);
|
||||
}
|
||||
|
||||
static int CmdEMVRoca(const char *Cmd) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue