diff options
author | CJentzsch <jentzsch.software@gmail.com> | 2015-06-18 18:31:58 +0800 |
---|---|---|
committer | CJentzsch <jentzsch.software@gmail.com> | 2015-06-18 18:31:58 +0800 |
commit | ba657029820fbf8e9233259f31a1edc8da7c56d2 (patch) | |
tree | efe4252e76b4280683d20c39f4d8121bf572bb5b | |
parent | bfcfbf8ea7ead9e8b48c30a30feb2c8d5e67eef0 (diff) | |
download | dexon-solidity-ba657029820fbf8e9233259f31a1edc8da7c56d2.tar.gz dexon-solidity-ba657029820fbf8e9233259f31a1edc8da7c56d2.tar.zst dexon-solidity-ba657029820fbf8e9233259f31a1edc8da7c56d2.zip |
avoid network tests when --nonetwork is set
-rw-r--r-- | TestHelper.cpp | 7 | ||||
-rw-r--r-- | TestHelper.h | 3 |
2 files changed, 6 insertions, 4 deletions
diff --git a/TestHelper.cpp b/TestHelper.cpp index 4e1ad92b..6c1db8ee 100644 --- a/TestHelper.cpp +++ b/TestHelper.cpp @@ -754,8 +754,10 @@ Options::Options() checkState = true; else if (arg == "--wallet") wallet = true; - else if (arg == "--network") - network = true; + else if (arg == "--nonetwork") + nonetwork = true; + else if (arg == "--nodag") + nodag = true; else if (arg == "--all") { performance = true; @@ -764,7 +766,6 @@ Options::Options() inputLimits = true; bigData = true; wallet = true; - network = true; } else if (arg == "--singletest" && i + 1 < argc) { diff --git a/TestHelper.h b/TestHelper.h index ab52a550..c21429ef 100644 --- a/TestHelper.h +++ b/TestHelper.h @@ -223,7 +223,8 @@ public: bool inputLimits = false; bool bigData = false; bool wallet = false; - bool network = false; + bool nonetwork = false; + bool nodag = false; /// @} /// Get reference to options |