[v1] nptl: Changes tests to be 1/line and sorted

Message ID 20221219191713.582457-1-goldstein.w.n@gmail.com
State Dropped
Headers
Series [v1] nptl: Changes tests to be 1/line and sorted |

Checks

Context Check Description
dj/TryBot-apply_patch success Patch applied to master at the time it was sent
dj/TryBot-32bit success Build for i686

Commit Message

Noah Goldstein Dec. 19, 2022, 7:17 p.m. UTC
  Just small QOL change.
---
 nptl/Makefile | 103 ++++++++++++++++++++++++++++++++++----------------
 1 file changed, 70 insertions(+), 33 deletions(-)
  

Comments

Noah Goldstein Dec. 19, 2022, 7:26 p.m. UTC | #1
On Mon, Dec 19, 2022 at 11:17 AM Noah Goldstein <goldstein.w.n@gmail.com> wrote:
>
> Just small QOL change.
> ---
>  nptl/Makefile | 103 ++++++++++++++++++++++++++++++++++----------------
>  1 file changed, 70 insertions(+), 33 deletions(-)
>
> diff --git a/nptl/Makefile b/nptl/Makefile
> index 3d2ce8af8a..fc955cd604 100644
> --- a/nptl/Makefile
> +++ b/nptl/Makefile
> @@ -270,48 +270,85 @@ LDLIBS-tst-thread-exit-clobber = -lstdc++
>  CFLAGS-tst-minstack-throw.o = -std=gnu++11
>  LDLIBS-tst-minstack-throw = -lstdc++
>
> -tests = tst-attr2 tst-attr3 tst-default-attr \
> -       tst-mutex5a tst-mutex7a \
> -       tst-mutexpi1 tst-mutexpi2 tst-mutexpi3 tst-mutexpi4 \
> -       tst-mutexpi5 tst-mutexpi5a tst-mutexpi6 tst-mutexpi7 tst-mutexpi7a \
> -       tst-mutexpi9 tst-mutexpi10 \
> +tests = \
> +       tst-attr2 \
> +       tst-attr3 \
> +       tst-cancel17 \
> +       tst-cancel24 \
> +       tst-cancel4_1 \
> +       tst-cancel4_2 \
> +       tst-cancel7 \
>         tst-cond26 \
> -       tst-robustpi1 tst-robustpi2 tst-robustpi3 tst-robustpi4 tst-robustpi5 \
> -       tst-robustpi6 tst-robustpi7 tst-robustpi9 \
> -       tst-rwlock2 tst-rwlock2a tst-rwlock2b tst-rwlock3 \
> -       tst-rwlock6 tst-rwlock7 tst-rwlock8 \
> -       tst-rwlock9 tst-rwlock10 tst-rwlock11 \
> -       tst-rwlock15 tst-rwlock17 tst-rwlock18 \
> +       tst-context1 \
> +       tst-default-attr \
> +       tst-dlsym1 \
> +       tst-exec4 \
> +       tst-exec5 \
> +       tst-initializers1 $(addprefix tst-initializers1-,c89 gnu89 c99 gnu99 c11 gnu11) \
> +       tst-minstack-cancel \
> +       tst-minstack-exit \
> +       tst-minstack-throw \
> +       tst-mutex5a \
> +       tst-mutex7a \
> +       tst-mutexpi1 \
> +       tst-mutexpi10 \
> +       tst-mutexpi2 \
> +       tst-mutexpi3 \
> +       tst-mutexpi4 \
> +       tst-mutexpi5 \
> +       tst-mutexpi5a \
> +       tst-mutexpi6 \
> +       tst-mutexpi7 \
> +       tst-mutexpi7a \
> +       tst-mutexpi9 \
>         tst-once5 \
> -       tst-sem17 \
> -       tst-tsd3 tst-tsd4 \
> -       tst-cancel4_1 tst-cancel4_2 \
> -       tst-cancel7 tst-cancel17 tst-cancel24 \
> -       tst-signal3 \
> -       tst-exec4 tst-exec5 \
> -       tst-stack2 tst-stack3 tst-stack4 \
>         tst-pthread-attr-affinity \
>         tst-pthread-attr-affinity-fail \
> -       tst-dlsym1 \
> -       tst-context1 \
> -       tst-sched1 \
> -       tst-initializers1 $(addprefix tst-initializers1-,\
> -                           c89 gnu89 c99 gnu99 c11 gnu11) \
> -       tst-thread_local1 \
> +       tst-pthread-attr-sigmask \
> +       tst-pthread-defaultattr-free \
> +       tst-pthread-gdb-attach \
> +       tst-pthread-gdb-attach-static \
> +       tst-pthread-timedlock-lockloop \
> +       tst-pthread_exit-nothreads \
> +       tst-pthread_exit-nothreads-static \
>         tst-robust-fork \
> -       tst-thread-exit-clobber tst-minstack-cancel tst-minstack-exit \
> -       tst-minstack-throw \
> +       tst-robustpi1 \
> +       tst-robustpi2 \
> +       tst-robustpi3 \
> +       tst-robustpi4 \
> +       tst-robustpi5 \
> +       tst-robustpi6 \
> +       tst-robustpi7 \
> +       tst-robustpi9 \
>         tst-rwlock-pwn \
> +       tst-rwlock10 \
> +       tst-rwlock11 \
> +       tst-rwlock15 \
> +       tst-rwlock17 \
> +       tst-rwlock18 \
> +       tst-rwlock2 \
> +       tst-rwlock2a \
> +       tst-rwlock2b \
> +       tst-rwlock3 \
> +       tst-rwlock6 \
> +       tst-rwlock7 \
> +       tst-rwlock8 \
> +       tst-rwlock9 \
> +       tst-sched1 \
> +       tst-sem17 \
> +       tst-signal3 \
> +       tst-stack2 \
> +       tst-stack3 \
> +       tst-stack4 \
>         tst-thread-affinity-pthread \
>         tst-thread-affinity-pthread2 \
>         tst-thread-affinity-sched \
> -       tst-pthread-defaultattr-free \
> -       tst-pthread-attr-sigmask \
> -       tst-pthread-timedlock-lockloop \
> -       tst-pthread-gdb-attach tst-pthread-gdb-attach-static \
> -       tst-pthread_exit-nothreads \
> -       tst-pthread_exit-nothreads-static \
> -       tst-thread-setspecific
> +       tst-thread-exit-clobber \
> +       tst-thread-setspecific \
> +       tst-thread_local1 \
> +       tst-tsd3 \
> +       tst-tsd4 \
> +# tests
>
>  tests-nolibpthread = \
>    tst-pthread_exit-nothreads \
> --
> 2.34.1
>

Ignore this commit, moving it to a series.
  

Patch

diff --git a/nptl/Makefile b/nptl/Makefile
index 3d2ce8af8a..fc955cd604 100644
--- a/nptl/Makefile
+++ b/nptl/Makefile
@@ -270,48 +270,85 @@  LDLIBS-tst-thread-exit-clobber = -lstdc++
 CFLAGS-tst-minstack-throw.o = -std=gnu++11
 LDLIBS-tst-minstack-throw = -lstdc++
 
-tests = tst-attr2 tst-attr3 tst-default-attr \
-	tst-mutex5a tst-mutex7a \
-	tst-mutexpi1 tst-mutexpi2 tst-mutexpi3 tst-mutexpi4 \
-	tst-mutexpi5 tst-mutexpi5a tst-mutexpi6 tst-mutexpi7 tst-mutexpi7a \
-	tst-mutexpi9 tst-mutexpi10 \
+tests = \
+	tst-attr2 \
+	tst-attr3 \
+	tst-cancel17 \
+	tst-cancel24 \
+	tst-cancel4_1 \
+	tst-cancel4_2 \
+	tst-cancel7 \
 	tst-cond26 \
-	tst-robustpi1 tst-robustpi2 tst-robustpi3 tst-robustpi4 tst-robustpi5 \
-	tst-robustpi6 tst-robustpi7 tst-robustpi9 \
-	tst-rwlock2 tst-rwlock2a tst-rwlock2b tst-rwlock3 \
-	tst-rwlock6 tst-rwlock7 tst-rwlock8 \
-	tst-rwlock9 tst-rwlock10 tst-rwlock11 \
-	tst-rwlock15 tst-rwlock17 tst-rwlock18 \
+	tst-context1 \
+	tst-default-attr \
+	tst-dlsym1 \
+	tst-exec4 \
+	tst-exec5 \
+	tst-initializers1 $(addprefix tst-initializers1-,c89 gnu89 c99 gnu99 c11 gnu11) \
+	tst-minstack-cancel \
+	tst-minstack-exit \
+	tst-minstack-throw \
+	tst-mutex5a \
+	tst-mutex7a \
+	tst-mutexpi1 \
+	tst-mutexpi10 \
+	tst-mutexpi2 \
+	tst-mutexpi3 \
+	tst-mutexpi4 \
+	tst-mutexpi5 \
+	tst-mutexpi5a \
+	tst-mutexpi6 \
+	tst-mutexpi7 \
+	tst-mutexpi7a \
+	tst-mutexpi9 \
 	tst-once5 \
-	tst-sem17 \
-	tst-tsd3 tst-tsd4 \
-	tst-cancel4_1 tst-cancel4_2 \
-	tst-cancel7 tst-cancel17 tst-cancel24 \
-	tst-signal3 \
-	tst-exec4 tst-exec5 \
-	tst-stack2 tst-stack3 tst-stack4 \
 	tst-pthread-attr-affinity \
 	tst-pthread-attr-affinity-fail \
-	tst-dlsym1 \
-	tst-context1 \
-	tst-sched1 \
-	tst-initializers1 $(addprefix tst-initializers1-,\
-			    c89 gnu89 c99 gnu99 c11 gnu11) \
-	tst-thread_local1 \
+	tst-pthread-attr-sigmask \
+	tst-pthread-defaultattr-free \
+	tst-pthread-gdb-attach \
+	tst-pthread-gdb-attach-static \
+	tst-pthread-timedlock-lockloop \
+	tst-pthread_exit-nothreads \
+	tst-pthread_exit-nothreads-static \
 	tst-robust-fork \
-	tst-thread-exit-clobber tst-minstack-cancel tst-minstack-exit \
-	tst-minstack-throw \
+	tst-robustpi1 \
+	tst-robustpi2 \
+	tst-robustpi3 \
+	tst-robustpi4 \
+	tst-robustpi5 \
+	tst-robustpi6 \
+	tst-robustpi7 \
+	tst-robustpi9 \
 	tst-rwlock-pwn \
+	tst-rwlock10 \
+	tst-rwlock11 \
+	tst-rwlock15 \
+	tst-rwlock17 \
+	tst-rwlock18 \
+	tst-rwlock2 \
+	tst-rwlock2a \
+	tst-rwlock2b \
+	tst-rwlock3 \
+	tst-rwlock6 \
+	tst-rwlock7 \
+	tst-rwlock8 \
+	tst-rwlock9 \
+	tst-sched1 \
+	tst-sem17 \
+	tst-signal3 \
+	tst-stack2 \
+	tst-stack3 \
+	tst-stack4 \
 	tst-thread-affinity-pthread \
 	tst-thread-affinity-pthread2 \
 	tst-thread-affinity-sched \
-	tst-pthread-defaultattr-free \
-	tst-pthread-attr-sigmask \
-	tst-pthread-timedlock-lockloop \
-	tst-pthread-gdb-attach tst-pthread-gdb-attach-static \
-	tst-pthread_exit-nothreads \
-	tst-pthread_exit-nothreads-static \
-	tst-thread-setspecific
+	tst-thread-exit-clobber \
+	tst-thread-setspecific \
+	tst-thread_local1 \
+	tst-tsd3 \
+	tst-tsd4 \
+# tests
 
 tests-nolibpthread = \
   tst-pthread_exit-nothreads \