Cleanup of test suite init.

This commit is contained in:
chriseth
2016-08-12 15:11:30 +02:00
parent 0d894a6832
commit 1bc0320811
4 changed files with 33 additions and 92 deletions
@@ -38,9 +38,6 @@ namespace // anonymous
string getIPCSocketPath()
{
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)");