Skip to content

Commit

Permalink
evmone coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
winsvega committed Mar 5, 2024
1 parent c07f2a5 commit a599ee6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion retesteth/testSuiteRunner/fillTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ void TestSuite::runTestWithoutFiller(boost::filesystem::path const& _file) const
{
Options::getDynamicOptions().setCurrentConfig(config);

ETH_DC_MESSAGE(DC::STATS,
ETH_DC_MESSAGE(DC::STATS2,
"Running tests for config '" + config.cfgFile().name() + "' " + test::fto_string(config.getId().id()));
ETH_DC_MESSAGE(DC::TESTLOG, "Running " + _file.filename().string() + ": ");

Expand Down
8 changes: 4 additions & 4 deletions web/evmone_coverage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ RESULT=$3
TYPE=$4
BUILD="/evmone/build"

retesteth -t $TYPE -- --testfile $BASE --clients evmone
lcov --capture --directory $BUILD --output-file $BUILD/coverage.lcov --ignore-errors mismatch --exclude="$HOME/.hunter/*" --exclude="$PWD/_deps/*" --exclude="11"
retesteth -t $TYPE -- --testfile $BASE --clients evmone --testpath /dev/null
lcov --capture --directory $BUILD --output-file $BUILD/coverage.lcov --ignore-errors mismatch --exclude="$HOME/.hunter/*" --exclude="$PWD/_deps/*" --exclude="11" --exclude="state" --exclude="statetest" --exclude="t8n" --exclude="unittests" --exclude="utils"
lcov --zerocounters --directory $BUILD
genhtml $BUILD/coverage.lcov --output-directory $RESULT/BASE --title BASE_COVERAGE
cp $BUILD/coverage.lcov $RESULT/coverage_base.lcov

retesteth -t $TYPE -- --testfile $PATCH --clients evmone
lcov --capture --directory $BUILD --output-file $BUILD/coverage.lcov --ignore-errors mismatch --exclude="$HOME/.hunter/*" --exclude="$PWD/_deps/*" --exclude="11"
retesteth -t $TYPE -- --testfile $PATCH --clients evmone --testpath /dev/null
lcov --capture --directory $BUILD --output-file $BUILD/coverage.lcov --ignore-errors mismatch --exclude="$HOME/.hunter/*" --exclude="$PWD/_deps/*" --exclude="11" --exclude="state" --exclude="statetest" --exclude="t8n" --exclude="unittests" --exclude="utils"
lcov --zerocounters --directory $BUILD
genhtml $BUILD/coverage.lcov --output-directory $RESULT/PATCH --title PATCH_COVERAGE
cp $BUILD/coverage.lcov $RESULT/coverage_patch.lcov
Expand Down

0 comments on commit a599ee6

Please sign in to comment.