diff options
author | Paweł Bylica <pawel.bylica@imapp.pl> | 2014-11-07 00:58:13 +0800 |
---|---|---|
committer | Paweł Bylica <pawel.bylica@imapp.pl> | 2014-11-07 00:58:13 +0800 |
commit | 6d2979ed5cb1c4c679aa8a80603a0da2cec269f6 (patch) | |
tree | f7fb37149aeda7cd9ef226a71c400d839aabeba4 /trie.cpp | |
parent | e2c84a98d998cc116897940a94aca0c1e095a856 (diff) | |
parent | 4b9dcd95ce5a33440de5014896bfeb99f6436c76 (diff) | |
download | dexon-solidity-6d2979ed5cb1c4c679aa8a80603a0da2cec269f6.tar dexon-solidity-6d2979ed5cb1c4c679aa8a80603a0da2cec269f6.tar.gz dexon-solidity-6d2979ed5cb1c4c679aa8a80603a0da2cec269f6.tar.bz2 dexon-solidity-6d2979ed5cb1c4c679aa8a80603a0da2cec269f6.tar.lz dexon-solidity-6d2979ed5cb1c4c679aa8a80603a0da2cec269f6.tar.xz dexon-solidity-6d2979ed5cb1c4c679aa8a80603a0da2cec269f6.tar.zst dexon-solidity-6d2979ed5cb1c4c679aa8a80603a0da2cec269f6.zip |
Merge branch 'develop' into develop-evmcc
Conflicts:
libevm/VM.h
test/vm.cpp
Diffstat (limited to 'trie.cpp')
-rw-r--r-- | trie.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -28,6 +28,7 @@ #include "TrieHash.h" #include "MemTrie.h" #include <boost/test/unit_test.hpp> +#include "TestHelper.h" using namespace std; using namespace dev; @@ -47,18 +48,14 @@ static unsigned fac(unsigned _i) } } +BOOST_AUTO_TEST_SUITE(TrieTests) + BOOST_AUTO_TEST_CASE(trie_tests) { - const char* ptestPath = getenv("ETHEREUM_TEST_PATH"); - string testPath; + string testPath = test::getTestPath(); - if (ptestPath == NULL) - { - cnote << " could not find environment variable ETHEREUM_TEST_PATH \n"; - testPath = "../../../tests"; - } - else - testPath = ptestPath; + + testPath += "/TrieTests"; cnote << "Testing Trie..."; js::mValue v; @@ -364,3 +361,6 @@ BOOST_AUTO_TEST_CASE(trieStess) } } +BOOST_AUTO_TEST_SUITE_END() + + |