aboutsummaryrefslogtreecommitdiffstats
path: root/test/libsolidity
diff options
context:
space:
mode:
authorDmitry K <winsvega@mail.ru>2016-08-03 00:32:03 +0800
committerDmitry K <winsvega@mail.ru>2016-08-03 00:32:03 +0800
commit5925ae0c6a32517f3b19b095e3ed8518d021f2e7 (patch)
tree117140938964c4b555856ae340d907e917e4efbb /test/libsolidity
parenta10b6f92f97bf2eacc80534f6640e08f0b26e95d (diff)
downloaddexon-solidity-5925ae0c6a32517f3b19b095e3ed8518d021f2e7.tar.gz
dexon-solidity-5925ae0c6a32517f3b19b095e3ed8518d021f2e7.tar.zst
dexon-solidity-5925ae0c6a32517f3b19b095e3ed8518d021f2e7.zip
Windows pipe for soltest
Diffstat (limited to 'test/libsolidity')
-rw-r--r--test/libsolidity/SolidityExecutionFramework.cpp17
1 files changed, 2 insertions, 15 deletions
diff --git a/test/libsolidity/SolidityExecutionFramework.cpp b/test/libsolidity/SolidityExecutionFramework.cpp
index a33f4caf..921fd056 100644
--- a/test/libsolidity/SolidityExecutionFramework.cpp
+++ b/test/libsolidity/SolidityExecutionFramework.cpp
@@ -25,8 +25,6 @@
#include <libdevcore/CommonIO.h>
#include <test/libsolidity/SolidityExecutionFramework.h>
-
-
using namespace std;
using namespace dev;
using namespace dev::solidity;
@@ -39,24 +37,13 @@ namespace // anonymous
string getIPCSocketPath()
{
- string ipcPath;
-
- size_t argc = boost::unit_test::framework::master_test_suite().argc;
- char** argv = boost::unit_test::framework::master_test_suite().argv;
- for (size_t i = 0; i < argc; i++)
- {
- string arg = argv[i];
- if (arg == "--ipc" && i + 1 < argc)
- {
- ipcPath = argv[i + 1];
- i++;
- }
- }
+ string ipcPath = dev::test::Options::get().ipcPath;
if (ipcPath.empty())
if (auto path = getenv("ETH_TEST_IPC"))
ipcPath = path;
if (ipcPath.empty())
BOOST_FAIL("ERROR: ipcPath not set! (use --ipc <path> or the environment variable ETH_TEST_IPC)");
+
return ipcPath;
}