-
Notifications
You must be signed in to change notification settings - Fork 151
Simplify kompilation for proof tests #2430
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
kevm-pyk/src/tests/conftest.py
Outdated
@@ -31,8 +29,8 @@ def pytest_addoption(parser: Parser) -> None: | |||
help='Run only this specific specification (skip others)', | |||
) | |||
parser.addoption( | |||
'--kompiled-targets-dir', | |||
type=dir_path, | |||
'--kompiled-target-dir', |
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.
May I ask you to not change this name, as our performance script uses the old one?
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.
Done.
@@ -189,22 +178,22 @@ def _target_for_spec(spec_file: Path) -> Target: | |||
ALL_TESTS, | |||
ids=[str(spec_file.relative_to(SPEC_DIR)) for spec_file in ALL_TESTS], | |||
) | |||
def test_kompile_targets(spec_file: Path, kompiled_target_for: Callable[[Path], Path], request: FixtureRequest) -> None: | |||
def test_kompile( |
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.
Same request as above, would it be possible to not change this name too?
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.
Done.
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 do not change the names of the command line arguments and the test that prekompiles the defintions.
9af6777
to
82cbc9f
Compare
5d6049c
to
6e2539e
Compare
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.
Thanks @tothtamas28 !
Fixes #2419
kompiled_target_cache
fixture--kompiled-targets-dir
to exist