Skip to content

Creating a GeneralStateTest

Yoichi Hirai edited this page May 15, 2017 · 1 revision

Prerequisites

  • An idea what to test
  • A cpp-ethereum branch that should run the test case correctly
  • Access to ethereum/tests repository

Preparation

  1. checkout the cpp-ethereum branch that should run the test case correctly
  2. build the branch
mkdir -p ~/src/cpp-ethereum/build
cd ~/src/cpp-ethereum/build
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DVMTRACE=1 ..
make
  1. checkout ethereum/tests