aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/distrib
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-01-20 10:58:23 -0800
committerGravatar Craig Tiller <ctiller@google.com>2016-01-20 10:58:23 -0800
commit94d04a5620c207412521c2691390dc6c1c9a6d37 (patch)
treea8f00eff95f4a3c2126dc41c581cd33c15b3d2d7 /tools/distrib
parent9c8ec0506d729fe8bdf9f9e7a514c51995a5206c (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-xtools/distrib/check_copyright.py5
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()