[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>
Wed, 12 Jun 2024 15:33:10 +0000 (17:33 +0200)
commit046bb4af8e2dbb22b726763450f45e8132549cfc
treebf4d568248f403e8d0d74cdb13cf22461058da9b
parented3c048c120fd2e701654d143c8100c69be4f49b
[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: Name c-0003-tests-add-missing-cross-disabled-checks.patch
src/tools/cargo/tests/testsuite/build_script.rs