[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>
Fri, 17 May 2024 06:38:11 +0000 (08:38 +0200)
commit05b86a96f623b463ee26afec7fa2cb69ff906d4f
tree6938bf57a9e9dca4db2d899aa92c440ec25c6444
parent2ee5d20abd92ccf912d261d0060200108f833511
[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