-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some tests are failing
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please explain better the idea.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add item to changelog
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
more comments
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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