bug-gnulib
[Top][All Lists]
Advanced

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

Fix some test module descriptions


From: Bruno Haible
Subject: Fix some test module descriptions
Date: Mon, 14 Aug 2023 02:04:33 +0200

This command shows that there are some unit tests that #include "macros.h",
but the file tests/macros.h is missing from the module description.

for m in $(./gnulib-tool --find $(fgrep -rl 'include "macros.h"' tests) | 
LC_ALL=C sort -u); do
  if grep '^tests/macros\.h$' modules/$m >/dev/null; then : ; else echo $m; fi
done

This patch fixes it.


2023-08-13  Bruno Haible  <bruno@clisp.org>

        Fix some test module descriptions.
        * modules/boot-time-tests (Files): Add tests/macros.h.
        * modules/dprintf-gnu-tests (Files): Likewise.
        * modules/fclose-tests (Files): Likewise.
        * modules/getcwd-tests (Files): Likewise.
        * modules/lock-tests (Files): Likewise.
        * modules/nullptr-c++-tests (Files): Likewise.
        * modules/posix_spawn-tests (Files): Likewise.
        * modules/posix_spawnp-tests (Files): Likewise.
        * modules/readutmp-tests (Files): Likewise.
        * modules/sh-quote-tests (Files): Likewise.
        * modules/unigbrk/u16-grapheme-breaks-tests (Files): Likewise.
        * modules/unigbrk/u16-grapheme-next-tests (Files): Likewise.
        * modules/unigbrk/u16-grapheme-prev-tests (Files): Likewise.
        * modules/unigbrk/u32-grapheme-breaks-tests (Files): Likewise.
        * modules/unigbrk/u32-grapheme-next-tests (Files): Likewise.
        * modules/unigbrk/u32-grapheme-prev-tests (Files): Likewise.
        * modules/unigbrk/u8-grapheme-breaks-tests (Files): Likewise.
        * modules/unigbrk/u8-grapheme-next-tests (Files): Likewise.
        * modules/unigbrk/u8-grapheme-prev-tests (Files): Likewise.
        * modules/unigbrk/uc-grapheme-breaks-tests (Files): Likewise.

diff --git a/modules/boot-time-tests b/modules/boot-time-tests
index bb56ee36e5..9436f0e8b5 100644
--- a/modules/boot-time-tests
+++ b/modules/boot-time-tests
@@ -1,5 +1,6 @@
 Files:
 tests/test-boot-time.c
+tests/macros.h
 
 Depends-on:
 
diff --git a/modules/dprintf-gnu-tests b/modules/dprintf-gnu-tests
index 117e615649..176d64c10c 100644
--- a/modules/dprintf-gnu-tests
+++ b/modules/dprintf-gnu-tests
@@ -2,6 +2,7 @@ Files:
 tests/test-dprintf-gnu.sh
 tests/test-dprintf-gnu.c
 tests/test-printf-gnu.output
+tests/macros.h
 
 Depends-on:
 dprintf-posix-tests
diff --git a/modules/fclose-tests b/modules/fclose-tests
index 0f36e0d50e..6e8ebe8343 100644
--- a/modules/fclose-tests
+++ b/modules/fclose-tests
@@ -1,5 +1,6 @@
 Files:
 tests/test-fclose.c
+tests/macros.h
 
 Depends-on:
 fdopen
diff --git a/modules/getcwd-tests b/modules/getcwd-tests
index c842c77115..4a8aee2540 100644
--- a/modules/getcwd-tests
+++ b/modules/getcwd-tests
@@ -2,6 +2,7 @@ Files:
 tests/test-getcwd.sh
 tests/test-getcwd.c
 tests/qemu.h
+tests/macros.h
 
 Depends-on:
 errno
diff --git a/modules/lock-tests b/modules/lock-tests
index 31d627da2a..502c36882f 100644
--- a/modules/lock-tests
+++ b/modules/lock-tests
@@ -3,6 +3,7 @@ tests/test-rwlock1.c
 tests/test-lock.c
 tests/test-once.c
 tests/atomic-int-gnulib.h
+tests/macros.h
 m4/semaphore.m4
 
 Depends-on:
diff --git a/modules/nullptr-c++-tests b/modules/nullptr-c++-tests
index ae60f4b360..391881974d 100644
--- a/modules/nullptr-c++-tests
+++ b/modules/nullptr-c++-tests
@@ -1,5 +1,6 @@
 Files:
 tests/test-nullptr-c++.cc
+tests/macros.h
 
 Status:
 c++-test
diff --git a/modules/posix_spawn-tests b/modules/posix_spawn-tests
index 7d316c96f6..ef56cf6023 100644
--- a/modules/posix_spawn-tests
+++ b/modules/posix_spawn-tests
@@ -8,6 +8,7 @@ tests/executable-script
 tests/executable-script.sh
 tests/executable-shell-script
 tests/signature.h
+tests/macros.h
 
 Depends-on:
 posix_spawn_file_actions_init
diff --git a/modules/posix_spawnp-tests b/modules/posix_spawnp-tests
index 4ac569e318..16369ff52f 100644
--- a/modules/posix_spawnp-tests
+++ b/modules/posix_spawnp-tests
@@ -8,6 +8,7 @@ tests/executable-script
 tests/executable-script.sh
 tests/executable-shell-script
 tests/signature.h
+tests/macros.h
 
 Depends-on:
 posix_spawn_file_actions_init
diff --git a/modules/readutmp-tests b/modules/readutmp-tests
index 5543b30fac..c21fe9c4be 100644
--- a/modules/readutmp-tests
+++ b/modules/readutmp-tests
@@ -1,5 +1,6 @@
 Files:
 tests/test-readutmp.c
+tests/macros.h
 
 Depends-on:
 array-mergesort
diff --git a/modules/sh-quote-tests b/modules/sh-quote-tests
index b2eccc58c7..1d72a1899d 100644
--- a/modules/sh-quote-tests
+++ b/modules/sh-quote-tests
@@ -1,5 +1,6 @@
 Files:
 tests/test-sh-quote.c
+tests/macros.h
 
 Depends-on:
 
diff --git a/modules/unigbrk/u16-grapheme-breaks-tests 
b/modules/unigbrk/u16-grapheme-breaks-tests
index 9f7f2dffef..4051d3cdea 100644
--- a/modules/unigbrk/u16-grapheme-breaks-tests
+++ b/modules/unigbrk/u16-grapheme-breaks-tests
@@ -1,5 +1,6 @@
 Files:
 tests/unigbrk/test-u16-grapheme-breaks.c
+tests/macros.h
 
 Depends-on:
 
diff --git a/modules/unigbrk/u16-grapheme-next-tests 
b/modules/unigbrk/u16-grapheme-next-tests
index a947afe3f3..724f37d858 100644
--- a/modules/unigbrk/u16-grapheme-next-tests
+++ b/modules/unigbrk/u16-grapheme-next-tests
@@ -1,5 +1,6 @@
 Files:
 tests/unigbrk/test-u16-grapheme-next.c
+tests/macros.h
 
 Depends-on:
 
diff --git a/modules/unigbrk/u16-grapheme-prev-tests 
b/modules/unigbrk/u16-grapheme-prev-tests
index be62d2468a..1f126032de 100644
--- a/modules/unigbrk/u16-grapheme-prev-tests
+++ b/modules/unigbrk/u16-grapheme-prev-tests
@@ -1,5 +1,6 @@
 Files:
 tests/unigbrk/test-u16-grapheme-prev.c
+tests/macros.h
 
 Depends-on:
 
diff --git a/modules/unigbrk/u32-grapheme-breaks-tests 
b/modules/unigbrk/u32-grapheme-breaks-tests
index 4561344744..50119c8b5d 100644
--- a/modules/unigbrk/u32-grapheme-breaks-tests
+++ b/modules/unigbrk/u32-grapheme-breaks-tests
@@ -1,5 +1,6 @@
 Files:
 tests/unigbrk/test-u32-grapheme-breaks.c
+tests/macros.h
 
 Depends-on:
 
diff --git a/modules/unigbrk/u32-grapheme-next-tests 
b/modules/unigbrk/u32-grapheme-next-tests
index 4ed8b1f94e..a5e5d8b887 100644
--- a/modules/unigbrk/u32-grapheme-next-tests
+++ b/modules/unigbrk/u32-grapheme-next-tests
@@ -1,5 +1,6 @@
 Files:
 tests/unigbrk/test-u32-grapheme-next.c
+tests/macros.h
 
 Depends-on:
 
diff --git a/modules/unigbrk/u32-grapheme-prev-tests 
b/modules/unigbrk/u32-grapheme-prev-tests
index 0900722791..ac76585b0b 100644
--- a/modules/unigbrk/u32-grapheme-prev-tests
+++ b/modules/unigbrk/u32-grapheme-prev-tests
@@ -1,5 +1,6 @@
 Files:
 tests/unigbrk/test-u32-grapheme-prev.c
+tests/macros.h
 
 Depends-on:
 
diff --git a/modules/unigbrk/u8-grapheme-breaks-tests 
b/modules/unigbrk/u8-grapheme-breaks-tests
index 7d1f6d98d5..a9e6991ce3 100644
--- a/modules/unigbrk/u8-grapheme-breaks-tests
+++ b/modules/unigbrk/u8-grapheme-breaks-tests
@@ -1,5 +1,6 @@
 Files:
 tests/unigbrk/test-u8-grapheme-breaks.c
+tests/macros.h
 
 Depends-on:
 
diff --git a/modules/unigbrk/u8-grapheme-next-tests 
b/modules/unigbrk/u8-grapheme-next-tests
index d30709ea63..2c676c61f1 100644
--- a/modules/unigbrk/u8-grapheme-next-tests
+++ b/modules/unigbrk/u8-grapheme-next-tests
@@ -1,5 +1,6 @@
 Files:
 tests/unigbrk/test-u8-grapheme-next.c
+tests/macros.h
 
 Depends-on:
 
diff --git a/modules/unigbrk/u8-grapheme-prev-tests 
b/modules/unigbrk/u8-grapheme-prev-tests
index 137e8464f7..7c830946cf 100644
--- a/modules/unigbrk/u8-grapheme-prev-tests
+++ b/modules/unigbrk/u8-grapheme-prev-tests
@@ -1,5 +1,6 @@
 Files:
 tests/unigbrk/test-u8-grapheme-prev.c
+tests/macros.h
 
 Depends-on:
 
diff --git a/modules/unigbrk/uc-grapheme-breaks-tests 
b/modules/unigbrk/uc-grapheme-breaks-tests
index 3c211ff5cb..2b0493930e 100644
--- a/modules/unigbrk/uc-grapheme-breaks-tests
+++ b/modules/unigbrk/uc-grapheme-breaks-tests
@@ -2,6 +2,7 @@ Files:
 tests/unigbrk/test-uc-grapheme-breaks.c
 tests/unigbrk/test-uc-grapheme-breaks.sh
 tests/unigbrk/GraphemeBreakTest.txt
+tests/macros.h
 
 Depends-on:
 






reply via email to

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