tests/tcg: move some multiarch files and make conditional
commit5343a837cdb0e10db05310e0da5a89843539b400
authorAlex Bennée <alex.bennee@linaro.org>
Fri, 17 Sep 2021 16:23:24 +0000 (17 17:23 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Tue, 12 Oct 2021 07:37:05 +0000 (12 08:37 +0100)
treee4f98ab9cd8bf3c7404e10b8551561d18f076c7e
parent4f0ebed41809531e4e84658b8ac1742c4ba6966a
tests/tcg: move some multiarch files and make conditional

We had some messy code to filter out stuff we can't build. Lets junk
that and simplify the logic by pushing some stuff into subdirs. In
particular we move:

  float_helpers into libs - not a standalone test
  linux-test into linux - so we only build on Linux hosts

This allows for at least some of the tests to be nominally usable
by *BSD user builds.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Warner Losh <imp@bsdimp.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Warner Losh <imp@bsdimp.com>
Message-Id: <20210917162332.3511179-4-alex.bennee@linaro.org>
tests/tcg/multiarch/Makefile.target
tests/tcg/multiarch/libs/float_helpers.c [moved from tests/tcg/multiarch/float_helpers.c with 99% similarity]
tests/tcg/multiarch/linux/linux-test.c [moved from tests/tcg/multiarch/linux-test.c with 100% similarity]
tests/tcg/x86_64/Makefile.target