diff options
author | Craig Tiller <ctiller@google.com> | 2016-01-20 10:58:23 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-01-20 10:58:23 -0800 |
commit | 94d04a5620c207412521c2691390dc6c1c9a6d37 (patch) | |
tree | a8f00eff95f4a3c2126dc41c581cd33c15b3d2d7 /tools/distrib | |
parent | 9c8ec0506d729fe8bdf9f9e7a514c51995a5206c (diff) |
List Sanity tests in a config file, not a shell script
Allows parallelization of sanity tests, and better error reporting
Diffstat (limited to 'tools/distrib')
-rwxr-xr-x | tools/distrib/check_copyright.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/distrib/check_copyright.py b/tools/distrib/check_copyright.py index 0c0669083a..935acf525e 100755 --- a/tools/distrib/check_copyright.py +++ b/tools/distrib/check_copyright.py @@ -136,7 +136,10 @@ for filename in subprocess.check_output('git ls-tree -r --name-only -r HEAD', else: log(args.skips, 'skip', filename) continue - text = load(filename) + try: + text = load(filename) + except: + continue m = re.search(re_license, text) if m: gdict = m.groupdict() |