94084c
commit 269eb9d930546ce57e83b56c44c430f154684a23
94084c
Author: Siddhesh Poyarekar <siddhesh@sourceware.org>
94084c
Date:   Thu Jan 13 10:34:37 2022 +0530
94084c
94084c
    stdlib: Sort tests in Makefile
94084c
    
94084c
    Put one test per line and sort them.
94084c
    
94084c
    Signed-off-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
94084c
    (cherry picked from commit 5b766603efa727c236a5f0cdcf09b71ff60b7584)
94084c
94084c
diff --git a/stdlib/Makefile b/stdlib/Makefile
94084c
index 7c15549cafa8e397..6a1c3580bd1648ee 100644
94084c
--- a/stdlib/Makefile
94084c
+++ b/stdlib/Makefile
94084c
@@ -65,30 +65,81 @@ aux =	grouping groupingwc tens_in_limb
94084c
 static-only-routines = atexit at_quick_exit
94084c
 
94084c
 test-srcs	:= tst-fmtmsg
94084c
-tests		:= tst-strtol tst-strtod testmb testrand testsort testdiv   \
94084c
-		   test-canon test-canon2 tst-strtoll tst-environ	    \
94084c
-		   tst-xpg-basename tst-random tst-random2 tst-bsearch	    \
94084c
-		   tst-limits tst-rand48 bug-strtod tst-setcontext	    \
94084c
-		   tst-setcontext2 test-a64l tst-qsort testmb2              \
94084c
-		   bug-strtod2 tst-atof1 tst-atof2 tst-strtod2		    \
94084c
-		   tst-rand48-2 tst-makecontext tst-strtod5		    \
94084c
-		   tst-qsort2 tst-makecontext2 tst-strtod6 tst-unsetenv1    \
94084c
-		   tst-makecontext3 bug-getcontext bug-fmtmsg1		    \
94084c
-		   tst-secure-getenv tst-strtod-overflow tst-strtod-round   \
94084c
-		   tst-tininess tst-strtod-underflow tst-setcontext3	    \
94084c
-		   tst-strtol-locale tst-strtod-nan-locale tst-strfmon_l    \
94084c
-		   tst-quick_exit tst-thread-quick_exit tst-width	    \
94084c
-		   tst-width-stdint tst-strfrom tst-strfrom-locale	    \
94084c
-		   tst-getrandom tst-atexit tst-at_quick_exit 		    \
94084c
-		   tst-cxa_atexit tst-on_exit test-atexit-race 		    \
94084c
-		   test-at_quick_exit-race test-cxa_atexit-race		    \
94084c
-		   test-cxa_atexit-race2				    \
94084c
-		   test-on_exit-race test-dlclose-exit-race 		    \
94084c
-		   tst-makecontext-align test-bz22786 tst-strtod-nan-sign \
94084c
-		   tst-swapcontext1 tst-setcontext4 tst-setcontext5 \
94084c
-		   tst-setcontext6 tst-setcontext7 tst-setcontext8 \
94084c
-		   tst-setcontext9 tst-bz20544 tst-canon-bz26341 \
94084c
-		   tst-realpath
94084c
+tests		:=  bug-fmtmsg1 \
94084c
+		    bug-getcontext \
94084c
+		    bug-strtod \
94084c
+		    bug-strtod2 \
94084c
+		    test-a64l \
94084c
+		    test-at_quick_exit-race \
94084c
+		    test-atexit-race \
94084c
+		    test-bz22786 \
94084c
+		    test-canon \
94084c
+		    test-canon2 \
94084c
+		    test-cxa_atexit-race \
94084c
+		    test-cxa_atexit-race2 \
94084c
+		    test-dlclose-exit-race \
94084c
+		    test-on_exit-race \
94084c
+		    testdiv \
94084c
+		    testmb \
94084c
+		    testmb2 \
94084c
+		    testrand \
94084c
+		    testsort \
94084c
+		    tst-at_quick_exit \
94084c
+		    tst-atexit \
94084c
+		    tst-atof1 \
94084c
+		    tst-atof2 \
94084c
+		    tst-bsearch \
94084c
+		    tst-bz20544 \
94084c
+		    tst-canon-bz26341 \
94084c
+		    tst-cxa_atexit \
94084c
+		    tst-environ \
94084c
+		    tst-getrandom \
94084c
+		    tst-limits \
94084c
+		    tst-makecontext \
94084c
+		    tst-makecontext-align \
94084c
+		    tst-makecontext2 \
94084c
+		    tst-makecontext3 \
94084c
+		    tst-on_exit \
94084c
+		    tst-qsort \
94084c
+		    tst-qsort2 \
94084c
+		    tst-quick_exit \
94084c
+		    tst-rand48 \
94084c
+		    tst-rand48-2 \
94084c
+		    tst-random \
94084c
+		    tst-random2 \
94084c
+		    tst-realpath \
94084c
+		    tst-secure-getenv \
94084c
+		    tst-setcontext \
94084c
+		    tst-setcontext2 \
94084c
+		    tst-setcontext3 \
94084c
+		    tst-setcontext4 \
94084c
+		    tst-setcontext5 \
94084c
+		    tst-setcontext6 \
94084c
+		    tst-setcontext7 \
94084c
+		    tst-setcontext8 \
94084c
+		    tst-setcontext9 \
94084c
+		    tst-strfmon_l \
94084c
+		    tst-strfrom \
94084c
+		    tst-strfrom-locale \
94084c
+		    tst-strtod \
94084c
+		    tst-strtod-nan-locale \
94084c
+		    tst-strtod-nan-sign \
94084c
+		    tst-strtod-overflow \
94084c
+		    tst-strtod-round \
94084c
+		    tst-strtod-underflow \
94084c
+		    tst-strtod2 \
94084c
+		    tst-strtod5 \
94084c
+		    tst-strtod6 \
94084c
+		    tst-strtol \
94084c
+		    tst-strtol-locale \
94084c
+		    tst-strtoll \
94084c
+		    tst-swapcontext1 \
94084c
+		    tst-thread-quick_exit \
94084c
+		    tst-tininess \
94084c
+		    tst-unsetenv1 \
94084c
+		    tst-width \
94084c
+		    tst-width-stdint \
94084c
+		    tst-xpg-basename
94084c
 
94084c
 tests-internal	:= tst-strtod1i tst-strtod3 tst-strtod4 tst-strtod5i \
94084c
 		   tst-tls-atexit tst-tls-atexit-nodelete