4 # Compare the results of native and cross-compiled configure tests
7 from __future__
import print_function
12 'BUILD_DIRECTORY', 'SELFTEST_PREFIX', 'defines',
13 'CROSS_COMPILE', 'CROSS_ANSWERS', 'CROSS_EXECUTE',
14 'LIBSOCKET_WRAPPER_SO_PATH',
15 'LIBNSS_WRAPPER_SO_PATH',
16 'LIBPAM_WRAPPER_SO_PATH',
17 'LIBUID_WRAPPER_SO_PATH',
18 'LIBRESOLV_WRAPPER_SO_PATH',
26 for fname
in sys
.argv
[1:]:
30 if len(line
.split('=', 1)) == 2:
31 key
= line
.split('=', 1)[0].strip()
37 diff
= list(difflib
.unified_diff(base_lines
,lines
,base_fname
,fname
))
39 print('configuration files %s and %s do not match' % (base_fname
, fname
))