summaryrefslogtreecommitdiff
path: root/script/compare_cc_results.py
diff options
context:
space:
mode:
authorThomas Nagy <tnagy@waf.io>2017-04-15 18:56:11 +0200
committerAndrew Bartlett <abartlet@samba.org>2018-09-05 06:37:22 +0200
commit247d12c4facc59d4d31ebea62234663f8b938ac0 (patch)
treed4fe3d68792866f0dbe31d1b51e4f66c0e371b27 /script/compare_cc_results.py
parentcbc6534682829b3115147f73ca9a7eb41008374c (diff)
downloadsamba-247d12c4facc59d4d31ebea62234663f8b938ac0.tar.gz
build:wafsamba: Ignore cfg_file absolute paths differences
Due to build variants, cfg_file paths are written as absolute paths. Signed-off-by: Thomas Nagy <tnagy@waf.io> Reviewed-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'script/compare_cc_results.py')
-rwxr-xr-xscript/compare_cc_results.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/script/compare_cc_results.py b/script/compare_cc_results.py
index a3a9d113741..4f97dc371af 100755
--- a/script/compare_cc_results.py
+++ b/script/compare_cc_results.py
@@ -27,6 +27,9 @@ for fname in sys.argv[1:]:
lines = list()
f = open(fname, 'r')
for line in f:
+ if line.startswith("cfg_files ="):
+ # waf writes configuration files as absolute paths
+ continue
if len(line.split('=', 1)) == 2:
key = line.split('=', 1)[0].strip()
if key in exceptions: