tests/tcg: Add docker_as and docker_ld cmds
commitac3c7c3f79c148d8491810ccffc174f5a1a3b954
authorBastian Koppelmann <kbastian@mail.uni-paderborn.de>
Wed, 12 May 2021 10:20:31 +0000 (12 11:20 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 18 May 2021 08:36:21 +0000 (18 09:36 +0100)
treee18b1a181580b1b0d553482679cef135ce3ecf23
parent6a7e70006ad2f7afff98c25b2ec85d747b74040a
tests/tcg: Add docker_as and docker_ld cmds

At least for the TriCore target no easily available c compiler exists.
Thus we need to rely on "as" and "ld". This allows us to run them
through the docker image. We don't test the generation capabilities of
docker images as they are assumed to work.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
[AJB: fix quoting, only handle docker & clear, test -n, tweak commit msg]
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210512102051.12134-12-alex.bennee@linaro.org>
tests/tcg/Makefile.qemu
tests/tcg/configure.sh