Conversation
Codecov Report
@@ Coverage Diff @@
## master #5735 +/- ##
==========================================
+ Coverage 63.35% 63.67% +0.31%
==========================================
Files 353 356 +3
Lines 30352 30469 +117
Branches 3395 3390 -5
==========================================
+ Hits 19230 19401 +171
+ Misses 9886 9843 -43
+ Partials 1236 1225 -11 |
1ccfd56 to
2448ee4
Compare
| test::TestOutputHelper::get().markTestFolderAsFinished(suiteFillerPath, casename); | ||
| return; | ||
| } | ||
| suite.runAllTestsInFolder(casename); |
There was a problem hiding this comment.
this is just a rant, we won't change it now, but this should have been called from the test body instead of weirdly from fixture constructor; for that you could have created a macro wrapping BOOST_AUTO_TEST_CASE macro always calling it from the body
(maybe do that in retesteth if it's any similar there)
There was a problem hiding this comment.
Please explain better the idea.
There was a problem hiding this comment.
Don't run the tests from the constructor, run them from the test body.
#define RETESTETH_AUTO_TEST_CASE(casename) BOOST_AUTO_TEST_CASE(casename) { m_suite.runAllTestsInFolder(casename); }
RETESTETH_AUTO_TEST_CASE(stCallCodes)
...anyway it's better to get rid of boost.test altogether
There was a problem hiding this comment.
I think it will get more confusing if to continue refactoring it that way
|
I don't see legacy tests running on AppVeyor, do they run? (maybe just the suite name is not logged?) |
|
Add item to changelog |
|
In AppVeyor it just runs |
gumb0
left a comment
There was a problem hiding this comment.
looks better now, a couple of small things left
|
|
|
I've checked the scripts. I think it was macOS that runs all tests with --all flag. |
gumb0
left a comment
There was a problem hiding this comment.
Please squash at least first 4 commits, to make the anonymous ones disappear
|
is there a command to squash commits in the history not touching the recent ones? |
|
depends on what you mean by not touching |
|
looks like I can't sqush the first unnamed commit. you could only squash following commits into previous. check it out on branch: legacytests_squash |
|
have you just squashed the commits in this branch ok? |
|
Yes, it's fine here now |
|
@chfast Is it ok to merge this with |
Yes |
update the test subrepo to latest develop
support testeth to run LegacyTests (all tests for forks <= Constantinople. inc. GeneralStateTests and its blockchain form at the moment)
note this tests only run on linux-gcc6 yaml because --all option is enabled