[PATCH 0/3] Waf: Semi-automatic generation of results for cross-answers files
Stefan (metze) Metzmacher
metze at samba.org
Sun May 3 00:57:07 MDT 2015
Hi Uri,
> Well, it seems the approach I took with this patch is not the correct one,
> because some tests depend on
> results of previous tests.
> This dependency comes in two flavors:
> 1. Test B runs only if test A failed - it's in the logic of the test script
> (e.g. test for "-D_FILE_OFFSET_BITS=64" only runs if test for native large
> file support fails)
> 2. A more subtle one - test A success sets a compilation flag (e.g. large
> file file support), which alters the compilation of test B (e.g. fcntl
> locking)
>
> The approach of the patch was to run configure to completion and then run
> all tests on the target - given the above it cannot work.
>
> The only rigorous approach is either to stop configuration when an unknown
> value is detected, or to automatically run the test on the target (e.g. via
> a script supplied to configure) and continue.
That sounds like the --cross-execute= option...
or do you have something different in mind?
metze
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20150503/bd018db5/attachment.pgp>
More information about the samba-technical
mailing list