selftests/nolibc: avoid gaps in test numbers
authorThomas Weißschuh <linux@weissschuh.net>
Tue, 11 Jul 2023 09:48:42 +0000 (11:48 +0200)
committerWilly Tarreau <w@1wt.eu>
Wed, 23 Aug 2023 02:40:22 +0000 (04:40 +0200)
commitceb528feb7c89c9ef1e25e00494db9c6866cd4c3
treecd29d776f891be195b0c7770d8b1accec2a8768f
parentb184a261e526ada6207b62a96624cc97d741565c
selftests/nolibc: avoid gaps in test numbers

As the test numbers are based on line numbers gaps without testcases are
to be avoided.
Instead use the already existing test condition logic to implement
conditional execution.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Signed-off-by: Willy Tarreau <w@1wt.eu>
tools/testing/selftests/nolibc/nolibc-test.c