aboutsummaryrefslogtreecommitdiff
path: root/debug_info_test/whitelist.py
diff options
context:
space:
mode:
authorTing-Yuan Huang <laszio@chromium.org>2018-03-02 21:25:01 -0800
committerchrome-bot <chrome-bot@chromium.org>2018-03-05 12:41:53 -0800
commit527fcb39b1ebc18058ebf564c683ab92a0b63767 (patch)
tree5a7a830e152f78773bd7db64a2f7dc03a9f67579 /debug_info_test/whitelist.py
parent340542b21c30cd62a68d19f086edef36d849971b (diff)
downloadtoolchain-utils-527fcb39b1ebc18058ebf564c683ab92a0b63767.tar.gz
debug_info_test: test !gcc rather than clang.
There are other producers: gnu as, go, etc. Also update the whitelist. BUG=chromium:817648 TEST=debug_info_test Change-Id: Idc1ded503ed926fc85fbd55a97543583584468bd Reviewed-on: https://chromium-review.googlesource.com/947883 Commit-Ready: Ting-Yuan Huang <laszio@chromium.org> Tested-by: Ting-Yuan Huang <laszio@chromium.org> Reviewed-by: Yunlian Jiang <yunlian@chromium.org>
Diffstat (limited to 'debug_info_test/whitelist.py')
-rw-r--r--debug_info_test/whitelist.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug_info_test/whitelist.py b/debug_info_test/whitelist.py
index 99a457c0..383fcc3d 100644
--- a/debug_info_test/whitelist.py
+++ b/debug_info_test/whitelist.py
@@ -48,8 +48,8 @@ def load_whitelists(dirname):
key = os.path.splitext(os.path.basename(fn))[0]
with open(fn, 'r') as f:
patterns = f.read().splitlines()
- patterns = [l for l in patterns if l[0] != '#']
patterns = [l for l in patterns if l != '']
+ patterns = [l for l in patterns if l[0] != '#']
wlist[key] = prepare_whitelist(patterns)
return wlist