OSDN Git Service

tests/tcg: don't iterate through other arch compilers
authorAlex Bennée <alex.bennee@linaro.org>
Wed, 12 May 2021 10:20:29 +0000 (11:20 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 18 May 2021 08:36:21 +0000 (09:36 +0100)
commitd8e706da6c45b61f69af754fa96fd9224dea1765
treea6730ef435628053f04f42c2a86181ac5a0d42ad
parent910c40ee9444e8078027e9af4fabc5e08c11ecfd
tests/tcg: don't iterate through other arch compilers

There should only be one compiler per architecture. Those cases where
the same compiler can deal with a different architecture should be
explicitly set for both cross_cc and docker configurations. Otherwise
you get strangeness like:

  --cross-cc-aarch64=/bin/false

causing the logic to attempt to use a locally available
arm-linux-gnueabihf-gcc rather than forcing the use of the docker
image which is what is implied by the command line option.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210512102051.12134-10-alex.bennee@linaro.org>
tests/tcg/configure.sh