waf: add a script that compares configurations
authorUri Simchoni <urisimchoni@gmail.com>
Tue, 19 May 2015 08:50:41 +0000 (11:50 +0300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 20 May 2015 09:19:11 +0000 (11:19 +0200)
commit4a0d599518bc6312e887d1bb4c2b9063c1c78d83
tree4be21e5c18233997e75d45839d2ac9401e11952f
parent13ce285b24d4f1a3e9e1e2f6eb45a53ff9f2d642
waf: add a script that compares configurations

This script is intended for use with the cross-build infrastructure
self-test during autobuild.

The script takes two or more "default.cache.py" files which are the
result of the waf configure process, and performs an intelligent
comparison - allowing for a limited set of variables to be different.

If the configurations are identical (apart from allowed differences) then
the script exit with 0 code.
If there are differences, the script outputs them to standard output
in unified diff format.

Signed-off-by: Uri Simchoni <urisimchoni@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
script/compare_cc_results.py [new file with mode: 0755]