Skip to content
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

test: improve test/batch sequence iterator and move all tests into cases/ parent dir #11572

Merged
merged 2 commits into from May 5, 2022

Conversation

kubkon
Copy link
Member

@kubkon kubkon commented May 3, 2022

As discussed during our last stage2 meeting, I've improved filename parsing logic so that it is no longer necessary to explicitly specify testing strategy (incremental or independent); instead, the harness will automatically infer it based on the file naming used (foo.0.zig, foo.1.zig, etc., will signify incremental updates, while foo.zig will signify independent compilation).

As a direct consequence of this, all compiler tests (compile errors, incremental updates) now share common root directory, and are placed within test/cases/ path.

kubkon added 2 commits May 4, 2022 23:21
With this improved iterator, type of test is now inferred from
the filename, enabling us to put all cases in one common parent
directory, and iterate over that, thus automating a lot of tasks.
@andrewrk andrewrk merged commit 080e870 into master May 5, 2022
@andrewrk andrewrk deleted the test-harness branch May 5, 2022 00:28
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.

None yet

2 participants