Add common_checks dir and call from checker.
- Checker attempts to discover checks in 3 places:
1. common_checks dir.
2. Project repo.
3. Program repo.
- Add basic ConstraintSuite that checks ids are
consistent as an example.
- Right now just fail a check by throwing an
error and do basic logging when a check is run.
Logging and failure handling can be improved in
- Also added an exclude_pattern arg to
discover_suites to allow excluding tests. If tests
import a constraint suite, the suite would be
defined twice, and run twice.
--program ../program/volteer \
Commit-Queue: Andrew Lamb <email@example.com>
Tested-by: Andrew Lamb <firstname.lastname@example.org>
Reviewed-by: David Burger <email@example.com>
10 files changed