meson: pg_regress: Define a HOST_TUPLE sufficient to make resultmap work
authorAndres Freund <[email protected]>
Tue, 27 Sep 2022 19:01:35 +0000 (12:01 -0700)
committerAndres Freund <[email protected]>
Thu, 29 Sep 2022 01:48:19 +0000 (18:48 -0700)
commitdfefa0e46433a2c798281826f8501895f3fa2a71
tree4cfa61b66677c2f258e94080304a3fe5433733b7
parente3a892539b2baabc1963c31605728bbbc8f8b89a
meson: pg_regress: Define a HOST_TUPLE sufficient to make resultmap work

This doesn't end up with a triple that's exactly the same as config.guess -
it'd be hard to achieve that and it doesn't seem required. We can't rely on
config.guess as we don't necessarily have a /bin/sh on windows, e.g., when
building on windows with msvc.

This isn't perfect, e.g., clang works on windows as well.  But I suspect we'd
need a bunch of other changes to make clang on windows work, and we haven't
supported it historically.

Discussion: http://postgr.es/m/20220928022724[email protected]
src/test/regress/meson.build