Add a patch to disable a failing test that is proving difficult
to investigate.
(From OE-Core rev: 0dc2dfcacaa99bdb306215d2a5e135038f72d895)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
libnl builds lots of test-* binaries but these are for manual testing
purposes. Instead, the test suite is entirely contained in the
check-all binary.
Clean up the compilation by simply building check-all, and install it
with libtool so the binary is installed correctly.
There is no need to RDEPEND on libcheck as that happens automatically,
and the rpath workaround appears to be obsolete.
Finally rewrite run-ptest to invoke the test directly, and use the new
automake-style output that has been added to libcheck.
(From OE-Core rev: d500c46754ad8e8e3736c64b5b2e29039019fe88)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
All tests are installed, but only what `make check`
runs is run, so currently that's 1 test named `check-all`
`libcheck` needs to be present for ./configure to generate
the check* tests.
An issue asking about upstream testing strategy is opened at
https://github.com/thom311/libnl/issues/270
(From OE-Core rev: 23a785a373f76a24f4f7dd867522ce296cbf30f3)
Signed-off-by: Yi Fan Yu <yifan.yu@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>