autobuild: Add test for cross-compilation infrastructure
authorUri Simchoni <urisimchoni@gmail.com>
Mon, 4 May 2015 07:21:53 +0000 (10:21 +0300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 20 May 2015 12:10:05 +0000 (14:10 +0200)
commit88d1b44d150c5eaeea32c08f98c2b26f44dbeede
tree3b38c2088e665ceb612ccfcf5fe727c255628388
parent4a0d599518bc6312e887d1bb4c2b9063c1c78d83
autobuild: Add test for cross-compilation infrastructure

With added option to generate cross-answers by cross-execute script,
a test is added to verify that at least for tested build environments,
the infrastructure is self-consistent.

The test runs samba configuration in three modes:
1. Native
2. Cross compile with cross-execute, using the build machine as its own
   target
3. Cross compile with cross-answers, using the answers generated in
   step 2

The build environments created by the three processes are then tested to
be equal.

Signed-off-by: Uri Simchoni <urisimchoni@gmail.com>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Wed May 20 14:10:05 CEST 2015 on sn-devel-104
script/autobuild.py