[tor-commits] [tor/master] Add "check-includes" to check-local.

nickm at torproject.org nickm at torproject.org
Tue Jul 31 12:22:34 UTC 2018


commit cade65fd2e6bbf12e279dcd0f5e8da40b65d06a3
Author: Nick Mathewson <nickm at torproject.org>
Date:   Mon Jul 9 15:53:19 2018 -0400

    Add "check-includes" to check-local.
---
 Makefile.am         | 2 +-
 changes/ticket26447 | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 0f934cf0f..adeca6e43 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -197,7 +197,7 @@ doxygen:
 test: all
 	$(top_builddir)/src/test/test
 
-check-local: check-spaces check-changes
+check-local: check-spaces check-changes check-includes
 
 need-chutney-path:
 	@if test ! -d "$$CHUTNEY_PATH"; then \
diff --git a/changes/ticket26447 b/changes/ticket26447
new file mode 100644
index 000000000..757a4022f
--- /dev/null
+++ b/changes/ticket26447
@@ -0,0 +1,5 @@
+  o Minor features (code correctness, testing):
+    - Tor's build process now includes a "check-includes" make target
+      to verify that no module of Tor relies on any headers from a
+      higher-level module. We hope to use this feature over time to
+      help refactor our codebase.  Closes ticket 26447.





More information about the tor-commits mailing list