diff mbox series

[3/5] stdio-common: Adjust tests in Makefile

Message ID 20230518130325.59309-4-carlos@redhat.com
State New
Headers show
Series Fix defect in sort-makefile-lines.py | expand

Commit Message

Carlos O'Donell May 18, 2023, 1:03 p.m. UTC
Sort tests against updated scripts/sort-makefile-lines.py.

No changes in generated code.
No regressions on x86_64 and i686.
---
 stdio-common/Makefile                  | 44 +++++++++++++-------------
 stdio-common/{bug23-2.c => bug27.c}    |  0
 stdio-common/{bug23-3.c => bug28.c}    |  0
 stdio-common/{bug23-4.c => bug29.c}    |  0
 stdio-common/{scanf14a.c => scanf18.c} |  0
 stdio-common/{scanf16a.c => scanf19.c} |  0
 6 files changed, 22 insertions(+), 22 deletions(-)
 rename stdio-common/{bug23-2.c => bug27.c} (100%)
 rename stdio-common/{bug23-3.c => bug28.c} (100%)
 rename stdio-common/{bug23-4.c => bug29.c} (100%)
 rename stdio-common/{scanf14a.c => scanf18.c} (100%)
 rename stdio-common/{scanf16a.c => scanf19.c} (100%)

Comments

Siddhesh Poyarekar May 18, 2023, 4:05 p.m. UTC | #1
On 2023-05-18 09:03, Carlos O'Donell wrote:
> Sort tests against updated scripts/sort-makefile-lines.py.
> 
> No changes in generated code.
> No regressions on x86_64 and i686.
> ---

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>

>   stdio-common/Makefile                  | 44 +++++++++++++-------------
>   stdio-common/{bug23-2.c => bug27.c}    |  0
>   stdio-common/{bug23-3.c => bug28.c}    |  0
>   stdio-common/{bug23-4.c => bug29.c}    |  0
>   stdio-common/{scanf14a.c => scanf18.c} |  0
>   stdio-common/{scanf16a.c => scanf19.c} |  0
>   6 files changed, 22 insertions(+), 22 deletions(-)
>   rename stdio-common/{bug23-2.c => bug27.c} (100%)
>   rename stdio-common/{bug23-3.c => bug28.c} (100%)
>   rename stdio-common/{bug23-4.c => bug29.c} (100%)
>   rename stdio-common/{scanf14a.c => scanf18.c} (100%)
>   rename stdio-common/{scanf16a.c => scanf19.c} (100%)
> 
> diff --git a/stdio-common/Makefile b/stdio-common/Makefile
> index 1b4997afc8..4c15b97683 100644
> --- a/stdio-common/Makefile
> +++ b/stdio-common/Makefile
> @@ -130,6 +130,13 @@ aux := \
>   tests := \
>     bug-vfprintf-nargs \
>     bug1 \
> +  bug3 \
> +  bug4 \
> +  bug5 \
> +  bug6 \
> +  bug7 \
> +  bug8 \
> +  bug9 \
>     bug10 \
>     bug11 \
>     bug12 \
> @@ -146,38 +153,31 @@ tests := \
>     bug21 \
>     bug22 \
>     bug23 \
> -  bug23-2 \
> -  bug23-3 \
> -  bug23-4 \
>     bug24 \
>     bug25 \
>     bug26 \
> -  bug3 \
> -  bug4 \
> -  bug5 \
> -  bug6 \
> -  bug7 \
> -  bug8 \
> -  bug9 \
> +  bug27 \
> +  bug28 \
> +  bug29 \
>     errnobug \
>     scanf1 \
> +  scanf2 \
> +  scanf3 \
> +  scanf4 \
> +  scanf5 \
> +  scanf7 \
> +  scanf8 \
> +  scanf9 \
>     scanf10 \
>     scanf11 \
>     scanf12 \
>     scanf13 \
>     scanf14 \
> -  scanf14a \
>     scanf15 \
>     scanf16 \
> -  scanf16a \
>     scanf17 \
> -  scanf2 \
> -  scanf3 \
> -  scanf4 \
> -  scanf5 \
> -  scanf7 \
> -  scanf8 \
> -  scanf9 \
> +  scanf18 \
> +  scanf19 \
>     temptest \
>     test-fseek \
>     test-fwrite \
> @@ -442,11 +442,11 @@ CFLAGS-isoc23_scanf.c += -fexceptions
>   
>   CFLAGS-dprintf.c += $(config-cflags-wno-ignored-attributes)
>   
> -# scanf14a.c and scanf16a.c test a deprecated extension which is no
> +# scanf18.c and scanf19.c test a deprecated extension which is no
>   # longer visible under most conformance levels; see the source files
>   # for more detail.
> -CFLAGS-scanf14a.c += -std=gnu89
> -CFLAGS-scanf16a.c += -std=gnu89
> +CFLAGS-scanf18.c += -std=gnu89
> +CFLAGS-scanf19.c += -std=gnu89
>   
>   CFLAGS-bug3.c += -DOBJPFX=\"$(objpfx)\"
>   CFLAGS-bug4.c += -DOBJPFX=\"$(objpfx)\"
> diff --git a/stdio-common/bug23-2.c b/stdio-common/bug27.c
> similarity index 100%
> rename from stdio-common/bug23-2.c
> rename to stdio-common/bug27.c
> diff --git a/stdio-common/bug23-3.c b/stdio-common/bug28.c
> similarity index 100%
> rename from stdio-common/bug23-3.c
> rename to stdio-common/bug28.c
> diff --git a/stdio-common/bug23-4.c b/stdio-common/bug29.c
> similarity index 100%
> rename from stdio-common/bug23-4.c
> rename to stdio-common/bug29.c
> diff --git a/stdio-common/scanf14a.c b/stdio-common/scanf18.c
> similarity index 100%
> rename from stdio-common/scanf14a.c
> rename to stdio-common/scanf18.c
> diff --git a/stdio-common/scanf16a.c b/stdio-common/scanf19.c
> similarity index 100%
> rename from stdio-common/scanf16a.c
> rename to stdio-common/scanf19.c
diff mbox series

Patch

diff --git a/stdio-common/Makefile b/stdio-common/Makefile
index 1b4997afc8..4c15b97683 100644
--- a/stdio-common/Makefile
+++ b/stdio-common/Makefile
@@ -130,6 +130,13 @@  aux := \
 tests := \
   bug-vfprintf-nargs \
   bug1 \
+  bug3 \
+  bug4 \
+  bug5 \
+  bug6 \
+  bug7 \
+  bug8 \
+  bug9 \
   bug10 \
   bug11 \
   bug12 \
@@ -146,38 +153,31 @@  tests := \
   bug21 \
   bug22 \
   bug23 \
-  bug23-2 \
-  bug23-3 \
-  bug23-4 \
   bug24 \
   bug25 \
   bug26 \
-  bug3 \
-  bug4 \
-  bug5 \
-  bug6 \
-  bug7 \
-  bug8 \
-  bug9 \
+  bug27 \
+  bug28 \
+  bug29 \
   errnobug \
   scanf1 \
+  scanf2 \
+  scanf3 \
+  scanf4 \
+  scanf5 \
+  scanf7 \
+  scanf8 \
+  scanf9 \
   scanf10 \
   scanf11 \
   scanf12 \
   scanf13 \
   scanf14 \
-  scanf14a \
   scanf15 \
   scanf16 \
-  scanf16a \
   scanf17 \
-  scanf2 \
-  scanf3 \
-  scanf4 \
-  scanf5 \
-  scanf7 \
-  scanf8 \
-  scanf9 \
+  scanf18 \
+  scanf19 \
   temptest \
   test-fseek \
   test-fwrite \
@@ -442,11 +442,11 @@  CFLAGS-isoc23_scanf.c += -fexceptions
 
 CFLAGS-dprintf.c += $(config-cflags-wno-ignored-attributes)
 
-# scanf14a.c and scanf16a.c test a deprecated extension which is no
+# scanf18.c and scanf19.c test a deprecated extension which is no
 # longer visible under most conformance levels; see the source files
 # for more detail.
-CFLAGS-scanf14a.c += -std=gnu89
-CFLAGS-scanf16a.c += -std=gnu89
+CFLAGS-scanf18.c += -std=gnu89
+CFLAGS-scanf19.c += -std=gnu89
 
 CFLAGS-bug3.c += -DOBJPFX=\"$(objpfx)\"
 CFLAGS-bug4.c += -DOBJPFX=\"$(objpfx)\"
diff --git a/stdio-common/bug23-2.c b/stdio-common/bug27.c
similarity index 100%
rename from stdio-common/bug23-2.c
rename to stdio-common/bug27.c
diff --git a/stdio-common/bug23-3.c b/stdio-common/bug28.c
similarity index 100%
rename from stdio-common/bug23-3.c
rename to stdio-common/bug28.c
diff --git a/stdio-common/bug23-4.c b/stdio-common/bug29.c
similarity index 100%
rename from stdio-common/bug23-4.c
rename to stdio-common/bug29.c
diff --git a/stdio-common/scanf14a.c b/stdio-common/scanf18.c
similarity index 100%
rename from stdio-common/scanf14a.c
rename to stdio-common/scanf18.c
diff --git a/stdio-common/scanf16a.c b/stdio-common/scanf19.c
similarity index 100%
rename from stdio-common/scanf16a.c
rename to stdio-common/scanf19.c