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