diff options
author | Gav Wood <g@ethdev.com> | 2015-06-18 21:38:11 +0800 |
---|---|---|
committer | Gav Wood <g@ethdev.com> | 2015-06-18 21:38:11 +0800 |
commit | 1541aa403bf9420e426af4b3045a1ebf423c6fa1 (patch) | |
tree | 3925cd5074423d9c75267c6b1b44874a9735a56a | |
parent | 5e23bd707baf24e1ab8c0c0a1f4e31aa8dd06db3 (diff) | |
parent | ba657029820fbf8e9233259f31a1edc8da7c56d2 (diff) | |
download | dexon-solidity-1541aa403bf9420e426af4b3045a1ebf423c6fa1.tar.gz dexon-solidity-1541aa403bf9420e426af4b3045a1ebf423c6fa1.tar.zst dexon-solidity-1541aa403bf9420e426af4b3045a1ebf423c6fa1.zip |
Merge pull request #2230 from CJentzsch/testethForBuildServer
make network test optional
-rw-r--r-- | TestHelper.cpp | 6 | ||||
-rw-r--r-- | TestHelper.h | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/TestHelper.cpp b/TestHelper.cpp index 743b1627..6c1db8ee 100644 --- a/TestHelper.cpp +++ b/TestHelper.cpp @@ -754,6 +754,10 @@ Options::Options() checkState = true; else if (arg == "--wallet") wallet = true; + else if (arg == "--nonetwork") + nonetwork = true; + else if (arg == "--nodag") + nodag = true; else if (arg == "--all") { performance = true; @@ -761,7 +765,7 @@ Options::Options() memory = true; inputLimits = true; bigData = true; - wallet= true; + wallet = true; } else if (arg == "--singletest" && i + 1 < argc) { diff --git a/TestHelper.h b/TestHelper.h index df33c00d..c21429ef 100644 --- a/TestHelper.h +++ b/TestHelper.h @@ -223,6 +223,8 @@ public: bool inputLimits = false; bool bigData = false; bool wallet = false; + bool nonetwork = false; + bool nodag = false; /// @} /// Get reference to options |