From 9b14af5c15971329c7520b9754d04664c71a2987 Mon Sep 17 00:00:00 2001 From: Christoph Jentzsch Date: Mon, 10 Nov 2014 18:30:35 +0100 Subject: [PATCH] build fix --- TestHelper.cpp | 4 +++- TestHelper.h | 2 +- state.cpp | 2 +- vm.cpp | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/TestHelper.cpp b/TestHelper.cpp index 306fc9564..c1a141abb 100644 --- a/TestHelper.cpp +++ b/TestHelper.cpp @@ -309,7 +309,7 @@ void userDefinedTest(string testTypeFlag, std::function= boost::unit_test::framework::master_test_suite().argc) @@ -332,10 +332,12 @@ void userDefinedTest(string testTypeFlag, std::function _expectedStore, std::map _resultStore, Address _expectedAddr); void executeTests(const std::string& _name, const std::string& _testPathAppendix, std::function doTests); std::string getTestPath(); -void userDefinedTest(string testTypeFlag, std::function doTests); +void userDefinedTest(std::string testTypeFlag, std::function doTests); template void checkAddresses(mapType& _expectedAddrs, mapType& _resultAddrs) diff --git a/state.cpp b/state.cpp index 844266ee6..91d9f3e51 100644 --- a/state.cpp +++ b/state.cpp @@ -124,7 +124,7 @@ BOOST_AUTO_TEST_CASE(stPreCompiledContracts) BOOST_AUTO_TEST_CASE(userDefinedFileState) { - userDefinedTest("--statetest", dev::test::doStateTests); + dev::test::userDefinedTest("--statetest", dev::test::doStateTests); } BOOST_AUTO_TEST_SUITE_END() diff --git a/vm.cpp b/vm.cpp index a3475ac0b..b36d3dc2b 100644 --- a/vm.cpp +++ b/vm.cpp @@ -459,7 +459,7 @@ BOOST_AUTO_TEST_CASE(vmRandom) BOOST_AUTO_TEST_CASE(userDefinedFileVM) { - userDefinedTest("--vmtest", dev::test::doVMTests); + dev::test::userDefinedTest("--vmtest", dev::test::doVMTests); } BOOST_AUTO_TEST_SUITE_END()