script: Fix failing build_xc job
authorNoel Power <noel.power@suse.com>
Wed, 5 Dec 2018 16:37:17 +0000 (16:37 +0000)
committerNoel Power <npower@samba.org>
Mon, 10 Dec 2018 09:38:25 +0000 (10:38 +0100)
commit0e35d741934eb1626f9a7aeacd9eb1a96e27546f
treebedea9f6d034145628a4daecc3e10a9bbf831bed
parent0186f2733aa59f70278747a6fd4ae9e66b8fd4e4
script: Fix failing build_xc job

build_xc job uses compare_cc_results.py to compare cache
files, the cache files are stringified hash maps, the results
in python 3.4 don't compare well due to inconsistent order of
dict key/value pairs when the cache files are created. While
comparing the file contents works fine in python3.6 it fails
with python3.4. This patch detects problematic dict lines and
rewrites the value for comparison

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
script/compare_cc_results.py