diff --git a/test/libwhisper/shhrpc.cpp b/test/libwhisper/shhrpc.cpp index 7729ec855..05b769fc4 100644 --- a/test/libwhisper/shhrpc.cpp +++ b/test/libwhisper/shhrpc.cpp @@ -105,6 +105,9 @@ BOOST_FIXTURE_TEST_SUITE(shhrpc, Setup) BOOST_AUTO_TEST_CASE(basic) { + if (test::Options::get().nonetwork) + return; + cnote << "Testing web3 basic functionality..."; web3->startNetwork(); @@ -152,6 +155,9 @@ BOOST_AUTO_TEST_CASE(basic) BOOST_AUTO_TEST_CASE(send) { + if (test::Options::get().nonetwork) + return; + cnote << "Testing web3 send..."; bool sent = false; @@ -220,6 +226,9 @@ BOOST_AUTO_TEST_CASE(send) BOOST_AUTO_TEST_CASE(receive) { + if (test::Options::get().nonetwork) + return; + cnote << "Testing web3 receive..."; bool sent = false; @@ -287,6 +296,9 @@ BOOST_AUTO_TEST_CASE(receive) BOOST_AUTO_TEST_CASE(serverBasic) { + if (test::Options::get().nonetwork) + return; + cnote << "Testing basic jsonrpc server..."; string s = jsonrpcServer->web3_clientVersion(); @@ -322,6 +334,9 @@ BOOST_AUTO_TEST_CASE(serverBasic) BOOST_AUTO_TEST_CASE(server) { + if (test::Options::get().nonetwork) + return; + cnote << "Testing server functionality..."; bool b;