Skip to content

Implement compiler frontend tests#216

Open
KonaeAkira wants to merge 10 commits intoMCHPR:masterfrom
KonaeAkira:frontend-tests
Open

Implement compiler frontend tests#216
KonaeAkira wants to merge 10 commits intoMCHPR:masterfrom
KonaeAkira:frontend-tests

Conversation

@KonaeAkira
Copy link
Contributor

@KonaeAkira KonaeAkira commented Nov 30, 2025

Added some tests for the compiler front end with help of the expect-test crate. The tests compare the exported RIL of the compiled graph with an expected value. Test expectations can be automatically updated using the UPDATE_EXPECT environment variable:

UPDATE_EXPECT=1 cargo test

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.

2 participants