Skip to content

Commit

Permalink
Merge pull request ethereum#947 from winsvega/soltest
Browse files Browse the repository at this point in the history
rename --ipc to --ipcpath
  • Loading branch information
winsvega authored Aug 31, 2016
2 parents 6106bf9 + f892d1b commit 3ccd198
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion scripts/tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ $ETH_PATH --test -d /tmp/test &
while [ ! -S /tmp/test/geth.ipc ]; do sleep 2; done

# And then run the Solidity unit-tests, pointing to that IPC endpoint.
"$REPO_ROOT"/build/test/soltest -- --ipc /tmp/test/geth.ipc
"$REPO_ROOT"/build/test/soltest -- --ipcpath /tmp/test/geth.ipc
ERROR_CODE=$?
pkill eth || true
sleep 4
Expand Down
2 changes: 1 addition & 1 deletion test/TestHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ Options::Options()
{
auto const& suite = boost::unit_test::framework::master_test_suite();
for (auto i = 0; i < suite.argc; i++)
if (string(suite.argv[i]) == "--ipc" && i + 1 < suite.argc)
if (string(suite.argv[i]) == "--ipcpath" && i + 1 < suite.argc)
{
ipcPath = suite.argv[i + 1];
i++;
Expand Down
2 changes: 1 addition & 1 deletion test/libsolidity/SolidityExecutionFramework.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ string getIPCSocketPath()
{
string ipcPath = dev::test::Options::get().ipcPath;
if (ipcPath.empty())
BOOST_FAIL("ERROR: ipcPath not set! (use --ipc <path> or the environment variable ETH_TEST_IPC)");
BOOST_FAIL("ERROR: ipcPath not set! (use --ipcpath <path> or the environment variable ETH_TEST_IPC)");

return ipcPath;
}
Expand Down

0 comments on commit 3ccd198

Please sign in to comment.