diff options
author | chriseth <chris@ethereum.org> | 2017-04-26 17:53:44 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-04-26 18:36:15 +0800 |
commit | ea6d925a5da79288bc2a3197c30f11c895a07a1a (patch) | |
tree | 5800ca7ad764c2a989a7b3950d7bf882cd766b06 /test/TestHelper.cpp | |
parent | 89bb8cbd6a12b4e42b7f00ea6aa64bf738d7a263 (diff) | |
download | dexon-solidity-ea6d925a5da79288bc2a3197c30f11c895a07a1a.tar dexon-solidity-ea6d925a5da79288bc2a3197c30f11c895a07a1a.tar.gz dexon-solidity-ea6d925a5da79288bc2a3197c30f11c895a07a1a.tar.bz2 dexon-solidity-ea6d925a5da79288bc2a3197c30f11c895a07a1a.tar.lz dexon-solidity-ea6d925a5da79288bc2a3197c30f11c895a07a1a.tar.xz dexon-solidity-ea6d925a5da79288bc2a3197c30f11c895a07a1a.tar.zst dexon-solidity-ea6d925a5da79288bc2a3197c30f11c895a07a1a.zip |
Option to disable/remove all tests that require IPC.
Diffstat (limited to 'test/TestHelper.cpp')
-rw-r--r-- | test/TestHelper.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/TestHelper.cpp b/test/TestHelper.cpp index 0c0857c9..094b59c6 100644 --- a/test/TestHelper.cpp +++ b/test/TestHelper.cpp @@ -43,8 +43,10 @@ Options::Options() optimize = true; else if (string(suite.argv[i]) == "--show-messages") showMessages = true; + else if (string(suite.argv[i]) == "--no-ipc") + disableIPC = true; - if (ipcPath.empty()) + if (!disableIPC && ipcPath.empty()) if (auto path = getenv("ETH_TEST_IPC")) ipcPath = path; } |