[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>
Mon, 27 May 2024 11:28:20 +0000 (13:28 +0200)
commit2be035b7e851a9627acd5f531cb48c173932426e
treebb2543fefb7ae05d012e557d6aaab62fbb4b0788
parent5930bf98ca9a1b0bd6dc7b3c8564340ee7602eca
[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