aboutsummaryrefslogtreecommitdiff
path: root/debug_info_test
diff options
context:
space:
mode:
Diffstat (limited to 'debug_info_test')
-rw-r--r--debug_info_test/allowlist.py5
-rw-r--r--debug_info_test/exist_debug_info.allowlist (renamed from debug_info_test/exist_debug_info.whitelist)0
-rw-r--r--debug_info_test/exist_producer.allowlist (renamed from debug_info_test/exist_producer.whitelist)0
-rw-r--r--debug_info_test/ngcc_comp_path.allowlist (renamed from debug_info_test/ngcc_comp_path.whitelist)0
-rw-r--r--debug_info_test/ngcc_dso_path.allowlist (renamed from debug_info_test/ngcc_dso_path.whitelist)0
5 files changed, 2 insertions, 3 deletions
diff --git a/debug_info_test/allowlist.py b/debug_info_test/allowlist.py
index 978b2370..9cf42af0 100644
--- a/debug_info_test/allowlist.py
+++ b/debug_info_test/allowlist.py
@@ -43,11 +43,10 @@ def prepare_allowlist(patterns):
return re.compile('|'.join(patterns))
-# FIXME: s/whitelist/allowlist/ in the file extension.
def load_allowlists(dirname):
"""Load allowlists under dirname.
- An allowlist ends with .whitelist.
+ An allowlist ends with .allowlist.
Args:
dirname: path to the dir.
@@ -56,7 +55,7 @@ def load_allowlists(dirname):
A dictionary of 'filename' -> allowlist matcher.
"""
wlist = {}
- for fn in glob.glob(os.path.join(dirname, '*.whitelist')):
+ for fn in glob.glob(os.path.join(dirname, '*.allowlist')):
key = os.path.splitext(os.path.basename(fn))[0]
with open(fn, 'r', encoding='utf-8') as f:
patterns = f.read().splitlines()
diff --git a/debug_info_test/exist_debug_info.whitelist b/debug_info_test/exist_debug_info.allowlist
index e0076fd6..e0076fd6 100644
--- a/debug_info_test/exist_debug_info.whitelist
+++ b/debug_info_test/exist_debug_info.allowlist
diff --git a/debug_info_test/exist_producer.whitelist b/debug_info_test/exist_producer.allowlist
index ee75de72..ee75de72 100644
--- a/debug_info_test/exist_producer.whitelist
+++ b/debug_info_test/exist_producer.allowlist
diff --git a/debug_info_test/ngcc_comp_path.whitelist b/debug_info_test/ngcc_comp_path.allowlist
index 45c5b4a2..45c5b4a2 100644
--- a/debug_info_test/ngcc_comp_path.whitelist
+++ b/debug_info_test/ngcc_comp_path.allowlist
diff --git a/debug_info_test/ngcc_dso_path.whitelist b/debug_info_test/ngcc_dso_path.allowlist
index 858465e0..858465e0 100644
--- a/debug_info_test/ngcc_dso_path.whitelist
+++ b/debug_info_test/ngcc_dso_path.allowlist