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

[ci] Compile the produced code as part of the test suite #714

Open
vgvassilev opened this issue Jan 18, 2024 · 1 comment
Open

[ci] Compile the produced code as part of the test suite #714

vgvassilev opened this issue Jan 18, 2024 · 1 comment
Assignees
Milestone

Comments

@vgvassilev
Copy link
Owner

Currently clad tests are organized in two ways. Clad can be attached to clang and it can produce an executable file which we run and/or it can produce source code which we verify with FileCheck.

The problem with verification statement by statement is that if we make a core change the changes in the output checks are painful.

To mitigate this problem we can implement a testing mode which pipes the produced source code to the compiler and if it compiles we can assume the test output is reasonable. We will still have a number of tests that make sure the code is still readable for humans but that should be more focused and won't need that much manual interventions.

@vgvassilev vgvassilev added this to the v1.6 milestone Jan 18, 2024
@vgvassilev
Copy link
Owner Author

The problem with verification statement by statement is that if we make a core change the changes in the output checks are painful.

This part should be fixed by #875.

@vgvassilev vgvassilev self-assigned this May 25, 2024
@vgvassilev vgvassilev modified the milestones: v1.6, v1.7 Jul 6, 2024
@vgvassilev vgvassilev modified the milestones: v1.7, v1.8 Aug 4, 2024
@vgvassilev vgvassilev modified the milestones: v1.8, v1.9 Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant