[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)
committerFabian Grünbichler <debian@fabian.gruenbichler.email>
Thu, 20 Feb 2025 18:23:02 +0000 (19:23 +0100)
commit12ec71dc0ee54dc141e4a34921caa0df1f1f5946
treec7773eb27ca7d80748a774a072a31d0789c640c2
parentf3e0058368b4220443dc8e2a8f6e512ce70a5fbb
[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