Skip to content

Refactor syntax test settings and compiler input - #17017

Open
erak wants to merge 4 commits into
developfrom
syntax-test-refactoring
Open

erak wants to merge 4 commits into
developfrom
syntax-test-refactoring

Conversation

@erak

@erak erak commented Sep 16, 2026

Copy link
Copy Markdown
Collaborator

In preparation of #16970.

Description

Decouples test settings from compiler invocation in the syntax test infrastructure and enables optional settings.

Details

  • Introduced SyntaxTestSettings struct: makes settings explicit and self-contained, replacing ad-hoc member variables on SyntaxTest.

  • Added optional setting readers to TestCaseReader: lets callers distinguish "setting absent" from "setting present with a value", needed to detect unset vs explicitly configured options.

  • Introduced CompilerInput struct: groups all compiler configuration into a single object, replacing scattered members (m_sources, m_evmVersion, m_modelCheckerSettings) to decouple test settings from how the compiler is invoked.

AI Disclosure

  • no AI tools used

@erak erak changed the title Refactor syntax test Refactor syntax test settings and compiler input Sep 16, 2026
@erak
erak added this pull request to stack #17018 September 16, 2026 11:10
@erak
erak force-pushed the syntax-test-refactoring branch from c1f4478 to 1ef57ba Compare September 16, 2026 11:18
@erak
erak force-pushed the syntax-test-refactoring branch from 1ef57ba to 2554f26 Compare September 17, 2026 08:12
@erak
erak marked this pull request as ready for review September 17, 2026 09:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant