sst-core icon indicating copy to clipboard operation
sst-core copied to clipboard

Add `./scripts/test-includes.pl` to CI

Open berquist opened this issue 3 months ago • 12 comments

We should see if there is a practical way to add ./scripts/test-includes.pl as a regular part of CI. When run without arguments, it tests for missing #includes and returns a nonzero exit code if there are any missing, as well as describe which ones are missing. If run with --fix, it automatically fixes them in your working tree (you still need to git add and git commit the changes).

Originally posted by @leekillough in https://github.com/sstsimulator/sst-core/issues/1423#issuecomment-3325046237

We should add this as a local hook under pre-commit.

berquist avatar Oct 09 '25 18:10 berquist