Skip to content

Conversation

@feliam
Copy link
Contributor

@feliam feliam commented Mar 19, 2020

All config variables should exist via config.py.
Attempt to erradicate argparse.
Attempt to separate EVM, WASM, NATIVE configs
Make it save the full config at mcore.yml towards a reproducible exploration.

@bradlarsen
Copy link

Related to this, I've noticed that if you run the existing unit test suite with pytest and the pytest-random-order plugin, several Ethereum tests sporadically fail due to global configuration not being initialized fully when test modules are run in an unexpected order.

@bradlarsen
Copy link

Yes, trying to run the tests in random order via pytest-randomly reveals path-dependent troubles in our test suite due to config.py stuff: #1660

@ehennenfent ehennenfent linked an issue Jun 19, 2020 that may be closed by this pull request
ekilmer added a commit that referenced this pull request Mar 9, 2021
The config system is a little brittle when Manticore tries to import all platform modules since we set the config options upon import and declaring the same config option in two different platforms will cause issues.

This is a bit of a band-aid over the real problem, which might look something like moving shared config options to a separate file that each platform can import.

Looks to be some related refactoring work here #1636
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reproducible Tiered Configuration Strategy

3 participants