summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Berg <benjamin.berg@intel.com>2025-07-31 22:12:23 +0200
committerThomas Weißschuh <linux@weissschuh.net>2025-09-01 20:48:41 +0200
commitca38943e83c7274a7b03b36c02807ea6d6adaac2 (patch)
treeb80d90d1aeba470f9ce0c0dd4f75c2f47b56b444
parent6d33ce3634f99e0c6c9ce9fc111261f2c411cb48 (diff)
selftests/nolibc: remove outdated comment about construct order
The constructor order is not (and should not) be tested. Remove the comment. Fixes: a782d45c867c ("selftests/nolibc: stop testing constructor order") Signed-off-by: Benjamin Berg <benjamin.berg@intel.com> Link: https://lore.kernel.org/r/20250731201225.323254-3-benjamin@sipsolutions.net Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
-rw-r--r--tools/testing/selftests/nolibc/nolibc-test.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/testing/selftests/nolibc/nolibc-test.c b/tools/testing/selftests/nolibc/nolibc-test.c
index d074878eb234..29de21595fc9 100644
--- a/tools/testing/selftests/nolibc/nolibc-test.c
+++ b/tools/testing/selftests/nolibc/nolibc-test.c
@@ -686,7 +686,6 @@ int expect_strtox(int llen, void *func, const char *input, int base, intmax_t ex
#define CASE_TEST(name) \
case __LINE__: llen += printf("%d %s", test, #name);
-/* constructors validate that they are executed in definition order */
__attribute__((constructor))
static void constructor1(void)
{