]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
gcc-runtime: Add do_check task for executing gcc test suites
authorNathan Rossi <nathan@nathanrossi.com>
Tue, 3 Sep 2019 16:56:41 +0000 (16:56 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 6 Sep 2019 11:44:25 +0000 (12:44 +0100)
commit9d5d680baa91b34dc97641f98856a51d1bb060c1
tree178970135eb86c477a7757bbe2148426e7ea1be2
parent1fb98bfdccb82474176fe8fca616aea84475942e
gcc-runtime: Add do_check task for executing gcc test suites

Add a do_check task to implement execution of the gcc component test
suites. The component test suites require execution of compiled programs
on the target.

The implementation provided allows for execution testing against a host
via SSH or within the local build environment using qemu linux-user
execution. The selection of execution is done via the
TOOLCHAIN_TEST_TARGET variable, and configuration of the remote host is
done with the TOOLCHAIN_TEST_HOST, TOOLCHAIN_TEST_HOST_USER and
TOOLCHAIN_TEST_HOST_PORT variables.

By default the do_check task will execute all check targets, this can be
changed by setting MAKE_CHECK_TARGETS to the desired test suite target
(e.g. check-gcc or check-target-libatomic).

Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/gcc/gcc-runtime.inc
meta/recipes-devtools/gcc/gcc-testsuite.inc [new file with mode: 0644]