package/ltp-testsuite: simplify code to exclude test-cases
authorYann E. MORIN <yann.morin.1998@free.fr>
Tue, 26 Jan 2021 17:47:41 +0000 (18:47 +0100)
committerYann E. MORIN <yann.morin.1998@free.fr>
Tue, 26 Jan 2021 18:42:50 +0000 (19:42 +0100)
commitf729692c16454effe625a769231487ac4c9f9d7c
treef9549d5ccad10605ee0f0aa2bd6f609802dee7dc
parentc7414ab12e57d67aee94a66913eabc88b2e3dd71
package/ltp-testsuite: simplify code to exclude test-cases

We have three conditions under which some tests may get removed:
uClibc, musl, static libraries. All three use the same mechanism
to exclude those test-cases: remove the files.

The first two use a common variable to list the affected files,
and share the same hook of their own to iterate over that list,
while the third has its own hook.

This is not very clean, so switch to using a single variable and
a single hook for all three conditions.

Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
Cc: Petr Vorel <petr.vorel@gmail.com>
Reviewed-by: Petr Vorel <petr.vorel@gmail.com>
package/ltp-testsuite/ltp-testsuite.mk