mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Solidity: cryptographic ecrecover test
This commit is contained in:
parent
d2457abb98
commit
ce40f285f3
@ -715,11 +715,10 @@ Options::Options()
|
|||||||
vmtrace = true;
|
vmtrace = true;
|
||||||
else if (arg == "--filltests")
|
else if (arg == "--filltests")
|
||||||
fillTests = true;
|
fillTests = true;
|
||||||
else if (arg.compare(0, 7, "--stats") == 0)
|
else if (arg == "--stats" && i + 1 < argc)
|
||||||
{
|
{
|
||||||
stats = true;
|
stats = true;
|
||||||
if (arg.size() > 7)
|
statsOutFile = argv[i + 1];
|
||||||
statsOutFile = arg.substr(8); // skip '=' char
|
|
||||||
}
|
}
|
||||||
else if (arg == "--performance")
|
else if (arg == "--performance")
|
||||||
performance = true;
|
performance = true;
|
||||||
@ -741,11 +740,10 @@ Options::Options()
|
|||||||
inputLimits = true;
|
inputLimits = true;
|
||||||
bigData = true;
|
bigData = true;
|
||||||
}
|
}
|
||||||
else if (arg.compare(0, 12, "--singletest") == 0)
|
else if (arg == "--singletest" && i + 1 < argc)
|
||||||
{
|
{
|
||||||
singletest = true;
|
singleTest = true;
|
||||||
if (arg.size() > 12)
|
singleTestName = argv[i + 1];
|
||||||
singletestName = arg.substr(13); // skip '=' char
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -188,8 +188,8 @@ public:
|
|||||||
|
|
||||||
/// Test selection
|
/// Test selection
|
||||||
/// @{
|
/// @{
|
||||||
bool singletest = false;
|
bool singleTest = false;
|
||||||
std::string singletestName;
|
std::string singleTestName;
|
||||||
bool performance = false;
|
bool performance = false;
|
||||||
bool quadratic = false;
|
bool quadratic = false;
|
||||||
bool memory = false;
|
bool memory = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user