Add check-includes to check-local?
We now have a handy tool that lets us check our includes for modularity violations. We could make it part of "make check", and have our CI enforce it for us!
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- Nick Mathewson changed milestone to %Tor: 0.3.5.x-final
changed milestone to %Tor: 0.3.5.x-final
- Author
Trac:
Owner: N/A to nickm
Keywords: easy ci modularity deleted, easy ci modularity fast-fix added
Status: new to accepted Trac:
Status: accepted to closed
Resolution: N/A to fixed- Author
Beg your pardon? I never actually did this.
Trac:
Resolution: fixed to N/A
Status: closed to reopened- Author
Please see branch
ticket26447
with PR at https://github.com/torproject/tor/pull/217 . - Author
Trac:
Status: reopened to needs_review - Author
Trac:
Keywords: easy ci modularity fast-fix deleted, 035-triaged-in-20180711, ci, easy, modularity, fast-fix added Trac:
Reviewer: N/A to teorOops, sorry, I didn't see this ticket last week.
When building out of tree, I see:
perl ../scripts/maint/checkSpace.pl -C \ ../src/lib/*/*.[ch] \ ../src/core/*/*.[ch] \ ../src/feature/*/*.[ch] \ ../src/app/*/*.[ch] \ ../src/test/*.[ch] \ ../src/test/*/*.[ch] \ ../src/tools/*.[ch] ../scripts/maint/checkIncludes.py make[1]: ../scripts/maint/checkIncludes.py: No such file or directory make[1]: *** [check-includes] Error 1 make[1]: *** Waiting for unfinished jobs....
Trac:
Status: needs_review to needs_revisionI get the same error for an in-tree build:
perl ./scripts/maint/checkSpace.pl -C \ ./src/lib/*/*.[ch] \ ./src/core/*/*.[ch] \ ./src/feature/*/*.[ch] \ ./src/app/*/*.[ch] \ ./src/test/*.[ch] \ ./src/test/*/*.[ch] \ ./src/tools/*.[ch] ./scripts/maint/checkIncludes.py make[1]: ./scripts/maint/checkIncludes.py: No such file or directory make[1]: *** [check-includes] Error 1 make[1]: *** Waiting for unfinished jobs.... ... $ ls -l ./scripts/maint/checkIncludes.py -rwxr-xr-x 1 x wheel 3473 26 Jul 10:48 ./scripts/maint/checkIncludes.py
- Author
It's maybe complaining that you don't have a /usr/bin/python3? I'll fix it up.
- Author
I've made the straightforward fix; better now?
Trac:
Status: needs_revision to needs_review - Author
Merged!
Trac:
Status: merge_ready to closed
Resolution: N/A to implemented - Trac closed
closed
- Nick Mathewson mentioned in issue #26448 (moved)
mentioned in issue #26448 (moved)
- Trac moved to tpo/core/tor#26447 (closed)
moved to tpo/core/tor#26447 (closed)