[PATCH] tests: add missing cross disabled checks
authorFabian Grünbichler <debian@fabian.gruenbichler.email>
Sat, 19 Nov 2022 09:24:08 +0000 (10:24 +0100)
committerEmilio Pozuelo Monfort <pochu@debian.org>
Wed, 28 Aug 2024 14:44:23 +0000 (16:44 +0200)
commit998b3f0dfff4fd92860d4320a5395e0289075caf
treefb1b5376e8ad564cc7d7331bac41146ad887c7ae
parenteb5b06f456bc2ac144cbe53d03c602322ff3023f
[PATCH] tests: add missing cross disabled checks

cross_conmpile::alternate states it should only be used in test cases
after checking cross_compile::disabled(), which is missing here. these
tests fail despite setting CFG_DISABLE_CROSS_TESTS on i386, since both
the host and the alternate cross target would be i686 in that case.

Signed-off-by: Fabian Grünbichler <debian@fabian.gruenbichler.email>
Gbp-Pq: Topic cargo
Gbp-Pq: Name c-0003-tests-add-missing-cross-disabled-checks.patch
src/tools/cargo/tests/testsuite/build_script.rs