From: Bruno Haible <bruno@clisp.org>
To: bug-gnulib@gnu.org
Subject: alignasof tests: Rename test file
Date: Sat, 21 Jan 2023 10:11:07 +0100 [thread overview]
Message-ID: <2103036.c1hCyg87lr@nimes> (raw)
In-Reply-To: <11682731.WDq5lpvYvz@nimes>
> 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 <bruno@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
prev parent reply other threads:[~2023-01-21 9:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-21 9:03 alignasof tests: Fix GCC warning (regression 2023-01-15) Bruno Haible
2023-01-21 9:11 ` Bruno Haible [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.gnu.org/mailman/listinfo/bug-gnulib
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2103036.c1hCyg87lr@nimes \
--to=bruno@clisp.org \
--cc=bug-gnulib@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).