support/testing/tests/toolchain/test_external: support non-ELF toolchains
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Fri, 14 Aug 2020 19:52:32 +0000 (21:52 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 16 Aug 2020 21:43:48 +0000 (23:43 +0200)
commit679a1ba24bdf63ca83b203d6d81e11b4cb57184f
tree26dd70a068bab6ab5b92e0507602bbbf82d84246
parent4741968d8bfd918859ee4429f5b5641c2467628a
support/testing/tests/toolchain/test_external: support non-ELF toolchains

The TestExternalToolchain() base class implement a test checking if
the ELF interpreter that is advertised by Busybox really exists in the
rootfs. Of course, this only makes sense with ELF toolchains. Until
now, only ELF toolchains were tested, but we are going to use
TestExternalToolchain() with non-ELF toolchains as well, so let's make
this conditional.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
[yann.morin.1998@free.fr: strip() lines during readlines()]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
support/testing/tests/toolchain/test_external.py