-
-ALL=$(filter-out $(EXCLUDE), $(REALLY_ALL))
-
-ALL_DEPENDS=$(patsubst %, ccan/%/.depends, $(REALLY_ALL))
-
-# Not all modules have tests.
-ALL_TESTS=$(patsubst ccan/%/test/, %, $(foreach dir, $(ALL), $(wildcard ccan/$(dir)/test/)))
-
-# Here's my rough logarithmic timeout graph for my laptop:
-#
-# 302 -
-# | / --*
-# | /
-# | /
-# | /
-# |Execution Time, seconds /
-# | /
-# | ---//
-# | /
-# | //
-# | ---\ ---
-# | --- \\ ------
-# |----------------- \---
-# 19 +------------------------------------------------------+--
-# 0 Timeout (ms, logarithmic) 262144
-#
-# 140
-# |
-# |------------
-# | ---
-# | ---------
-# | -------
-# | --\
-# | \\-
-# | Tests skipped --\
-# | \
-# | \\
-# | \\\
-# | \
-# | \----
-# --+0---------------------------------------------------==+--
-# 0 Timeout (ms, logarithmic) 262144
-#
-# On my laptop, this runs 574 tests in 40 seconds, vs. a full check which
-# runs 676 tests in 260 seconds.
-FASTTIMEOUT=750
+CCANLINT=tools/ccanlint/ccanlint --deps-fail-ignore
+CCANLINT_FAST=$(CCANLINT) -x tests_pass_valgrind -x tests_compile_coverage