> alignasof tests: Fix GCC warning (regression 2023-01-15). > * tests/test-stdalign.c (alignas): Undefine before redefine.
The common file naming pattern is broken after the refactoring from 2023-01-15. test-stdalign.c is no longer testing <stdalign.h> (since it does not even include <stdalign.h> any more). This patch corrects it. 2023-01-21 Bruno Haible <br...@clisp.org> alignasof tests: Rename test file. * tests/test-alignasof.c: Renamed from tests/test-stdalign.c. * modules/alignasof-tests (Files, Makefile.am): Update accordingly. diff --git a/modules/alignasof-tests b/modules/alignasof-tests index 95602c2fef..35bef17b99 100644 --- a/modules/alignasof-tests +++ b/modules/alignasof-tests @@ -1,5 +1,5 @@ Files: -tests/test-stdalign.c +tests/test-alignasof.c tests/macros.h Depends-on: @@ -9,5 +9,5 @@ stdint configure.ac: Makefile.am: -TESTS += test-stdalign -check_PROGRAMS += test-stdalign +TESTS += test-alignasof +check_PROGRAMS += test-alignasof diff --git a/tests/test-alignasof.c b/tests/test-alignasof.c index 85008e62e4..18c0d48866 100644 --- a/tests/test-alignasof.c +++ b/tests/test-alignasof.c @@ -1,4 +1,4 @@ -/* Test of <stdalign.h>. +/* Test of alignasof module. Copyright 2009-2023 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify