[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

alignasof tests: Rename test file

From: Bruno Haible
Subject: alignasof tests: Rename test file
Date: Sat, 21 Jan 2023 10:11:07 +0100

>       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 @@
@@ -9,5 +9,5 @@ stdint
-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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]