Skip to content

Commit

Permalink
Remove analysis dump
Browse files Browse the repository at this point in the history
  • Loading branch information
chfast committed Sep 9, 2019
1 parent 4548d43 commit ffe2b85
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion test/unittests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ add_executable(evmone-unittests
utils_test.cpp
vm_loader_evmone.cpp
)
target_link_libraries(evmone-unittests PRIVATE evm-unittests evmone testutils testutils-dump GTest::gtest GTest::gtest_main)
target_link_libraries(evmone-unittests PRIVATE evm-unittests evmone testutils GTest::gtest GTest::gtest_main)
target_include_directories(evmone-unittests PRIVATE ${evmone_private_include_dir})

gtest_discover_tests(evmone-unittests TEST_PREFIX ${PROJECT_NAME}/unittests/)
Expand Down
3 changes: 0 additions & 3 deletions test/unittests/analysis_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
#include <evmone/analysis.hpp>
#include <gtest/gtest.h>
#include <test/utils/bytecode.hpp>
#include <test/utils/dump.hpp>
#include <test/utils/utils.hpp>

using namespace evmone;
Expand Down Expand Up @@ -87,8 +86,6 @@ TEST(analysis, jumpdest_skip)
const auto code = bytecode{} + OP_STOP + OP_JUMPDEST;
auto analysis = evmone::analyze(fake_fn_table, rev, &code[0], code.size());

dump(analysis);

EXPECT_EQ(analysis.blocks.size(), 2);
ASSERT_EQ(analysis.instrs.size(), 4);
EXPECT_EQ(analysis.instrs[0].fn, fake_fn_table[OPX_BEGINBLOCK]);
Expand Down

0 comments on commit ffe2b85

Please sign in to comment.