[PATCH vkd3d v2] build: Disable crosstests as well if tests are disabled.

Henri Verbeet hverbeet at gmail.com
Thu Jan 27 08:54:57 CST 2022


On Wed, 26 Jan 2022 at 18:36, Zebediah Figura <zfigura at codeweavers.com> wrote:
>
> Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
> ---
> v2: Actually disable them in the makefile.
>
>  Makefile.am  | 10 ++++++++++
>  configure.ac |  9 +++++----
>  2 files changed, 15 insertions(+), 4 deletions(-)
>
If the goal is just to disable the crosstest targets, wouldn't
inserting something like

    AS_IF([test "x$enable_tests" = "xno"], [CROSSTARGET32=no CROSSTARGET64=no])

before CROSSTARGET32/CROSSTARGET64 are used be a little more
straightforward? Alternatively, we could use the existing BUILD_TESTS
in Makefile.am and adjust the messages in configure.ac. Note however
that the crosstest targets also build the demos, not just the tests.



More information about the wine-devel mailing list