Merge pull request #2230 from CJentzsch/testethForBuildServer

make network test optional
This commit is contained in:
Gav Wood 2015-06-18 21:38:11 +08:00
commit 1541aa403b
2 changed files with 7 additions and 1 deletions

View File

@ -754,6 +754,10 @@ Options::Options()
checkState = true; checkState = true;
else if (arg == "--wallet") else if (arg == "--wallet")
wallet = true; wallet = true;
else if (arg == "--nonetwork")
nonetwork = true;
else if (arg == "--nodag")
nodag = true;
else if (arg == "--all") else if (arg == "--all")
{ {
performance = true; performance = true;
@ -761,7 +765,7 @@ Options::Options()
memory = true; memory = true;
inputLimits = true; inputLimits = true;
bigData = true; bigData = true;
wallet= true; wallet = true;
} }
else if (arg == "--singletest" && i + 1 < argc) else if (arg == "--singletest" && i + 1 < argc)
{ {

View File

@ -223,6 +223,8 @@ public:
bool inputLimits = false; bool inputLimits = false;
bool bigData = false; bool bigData = false;
bool wallet = false; bool wallet = false;
bool nonetwork = false;
bool nodag = false;
/// @} /// @}
/// Get reference to options /// Get reference to options