From patchwork Tue Apr 30 16:21:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "H.J. Lu" X-Patchwork-Id: 89193 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 50EBB385842D for ; Tue, 30 Apr 2024 16:21:41 +0000 (GMT) X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) by sourceware.org (Postfix) with ESMTPS id B298C3858D1E for ; Tue, 30 Apr 2024 16:21:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org B298C3858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org B298C3858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::102c ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1714494081; cv=none; b=PC1b4T2Y4RtI+4I3BqCaUNsLKVhn8wT4ljCSjc3HDq1q+aRuvmq1bKyP1LlhrWRltb+QY2eySX7Vs9VwzWJE0NoZKS80LI1SvMn0hcPGUTdkTd9m3Ggw40MCtEKW7bpvxrcuvosD3IH777ATlCakGLPiG6Xq8q2RAuYG7jObGe4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1714494081; c=relaxed/simple; bh=Hq1LDb1V04i+fK25nFmG7EPwfAGvwePbrfORWNWkisk=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=DOoWHj4u9J5SXK6gFDO3ijj3cG/o+c3XCXc/K8iGfwVcCkbWAZ9x1JLDB7UjPw+MonzaeHT10+UoqVHbO5yXdM+Yj6DrcCMC37u+IF/X4l+Za0Gj+FsyXWNJtCFMMxLUqv+ndauFMHVD53ZRtdonWTixwl3SOEdSPf20KvgMpIU= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pj1-x102c.google.com with SMTP id 98e67ed59e1d1-2a559928f46so4004536a91.0 for ; Tue, 30 Apr 2024 09:21:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1714494078; x=1715098878; darn=sourceware.org; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:from:to:cc:subject:date:message-id:reply-to; bh=Yeo3xuL7F5ejkLEX7423O1A5rJSf569w1umYXjRHkVU=; b=hKYmVJF8cRW8DgEDD+YiM1+SP7waNRwlxnBnzKuKeHSHJODgZuKW2f+4k3qa6EnlsI tHYIlIv+UETSFsg0SeDG7sMDj6G8LKZ7yPmKRsWdb/J7w/eMxZdHFqNELYZk7lTJLVeQ Igxkoz++GhJBhqr9rLfToT0QlfzHfjonuLVwCyM7Ucq4NQ1VIrtTFhr+g4XOG8FAVB6h 6p2BHUhs8SaIwUTFVFveA16J3BDdUcsfkIupBWk3eMSxjlJi/SgX8u9peNVhU6rHhBWv oe+c7QFyMae8y5OKgaIHywXEiWdh0lESaxqhDV51YzoZVB3Xv70edWAv1cmIlDi9dGbY hPWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714494078; x=1715098878; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Yeo3xuL7F5ejkLEX7423O1A5rJSf569w1umYXjRHkVU=; b=OXyhhEWK7ohAU/RWyFt0C6b8J3qdquwyB4Tmlq2X14ulqNSQZrrlpb+7xjnb57ELer m3dgf73z4EMcJ2uFuas0YrVT1AZ+KvBvQwVylpcElHWRGFWKolqLmL2Xgif8ty03iAn2 68FUMiDHv7BKSJYET7pH6KkypIp+iU6IucBNH/QpxpTz6YlX7aNDcHAbQ14OaeyVpXvr dkHsz1vVYqK3K/DZDd9owyOzQKGTyrA4wmAyCtNCV2gaoVP6vPPO9N4Gi6MgsgVNUZWi r8VkqanyzcvrU/nZStoe4gYeJKpfWydvIWbmosUAVwWDOwcBsr9DVbFbsYIXyqtn7U+o duPg== X-Gm-Message-State: AOJu0YzxY5DyLwN92L7SsrdQF4Ic8pAPDXO8NUcwpeAB+ENcVt7HVnhB r212l1/vceewKFGHv946rpuH9edp/z1176rxAITOxJ4x42OH3k9PfZ3h5Q== X-Google-Smtp-Source: AGHT+IHVQ0qbeZnA6CterGFW2AzLsgpkDmuw+VqJostl5Fx9CT9V25ynpQchXGhfpy8pWxygdb17bw== X-Received: by 2002:a17:90b:1bd2:b0:2b2:7c52:de5d with SMTP id oa18-20020a17090b1bd200b002b27c52de5dmr2794498pjb.10.1714494078374; Tue, 30 Apr 2024 09:21:18 -0700 (PDT) Received: from gnu-cfl-3.localdomain ([172.56.168.158]) by smtp.gmail.com with ESMTPSA id ta11-20020a17090b4ecb00b002a544263b43sm23028560pjb.28.2024.04.30.09.21.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 09:21:17 -0700 (PDT) Received: from gnu-cfl-3.. (localhost [IPv6:::1]) by gnu-cfl-3.localdomain (Postfix) with ESMTP id D2BCC7401B6 for ; Tue, 30 Apr 2024 09:21:16 -0700 (PDT) From: "H.J. Lu" To: libc-alpha@sourceware.org Subject: [PATCH] libio: Sort test variables in Makefile Date: Tue, 30 Apr 2024 09:21:16 -0700 Message-ID: <20240430162116.1790085-1-hjl.tools@gmail.com> X-Mailer: git-send-email 2.44.0 MIME-Version: 1.0 X-Spam-Status: No, score=-3022.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sort test variables in libio/Makefile using scripts/sort-makefile-lines.py. Reviewed-by: Sunil K Pandey --- libio/Makefile | 104 +++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 84 insertions(+), 20 deletions(-) diff --git a/libio/Makefile b/libio/Makefile index 27623c92a9..a4f4409b56 100644 --- a/libio/Makefile +++ b/libio/Makefile @@ -68,22 +68,76 @@ routines_no_fortify += \ wprintf \ # routines_no_fortify -tests = tst_swprintf tst_wprintf tst_swscanf tst_wscanf tst_getwc tst_putwc \ - tst_wprintf2 tst-widetext test-fmemopen tst-ext tst-ext2 \ - tst-fgetws tst-ungetwc1 tst-ungetwc2 tst-swscanf tst-sscanf \ - tst-mmap-setvbuf bug-ungetwc1 bug-ungetwc2 tst-atime tst-eof \ - tst-freopen bug-rewind bug-rewind2 bug-ungetc bug-fseek \ - tst-mmap-eofsync tst-mmap-fflushsync bug-mmap-fflush \ - tst-mmap2-eofsync tst-mmap-offend bug-fopena+ bug-wfflush \ - bug-ungetc2 bug-ftell bug-ungetc3 bug-ungetc4 tst-fopenloc2 \ - tst-memstream1 tst-memstream2 tst-memstream3 tst-memstream4 \ - tst-wmemstream1 tst-wmemstream2 tst-wmemstream3 tst-wmemstream4 \ - tst-wmemstream5 bug-memstream1 bug-wmemstream1 \ - tst-setvbuf1 tst-popen1 tst-fgetwc bug-wsetpos tst-fseek \ - tst-fwrite-error tst-ftell-partial-wide tst-ftell-active-handler \ - tst-ftell-append tst-fputws tst-bz22415 tst-fgetc-after-eof \ - tst-sprintf-ub tst-sprintf-chk-ub tst-bz24051 tst-bz24153 \ - tst-wfile-sync tst-bz28828 tst-getdelim +tests = \ + bug-fopena+ \ + bug-fseek \ + bug-ftell \ + bug-memstream1 \ + bug-mmap-fflush \ + bug-rewind \ + bug-rewind2 \ + bug-ungetc \ + bug-ungetc2 \ + bug-ungetc3 \ + bug-ungetc4 \ + bug-ungetwc1 \ + bug-ungetwc2 \ + bug-wfflush \ + bug-wmemstream1 \ + bug-wsetpos \ + test-fmemopen \ + tst-atime \ + tst-bz22415 \ + tst-bz24051 \ + tst-bz24153 \ + tst-bz28828 \ + tst-eof \ + tst-ext \ + tst-ext2 \ + tst-fgetc-after-eof \ + tst-fgetwc \ + tst-fgetws \ + tst-fopenloc2 \ + tst-fputws \ + tst-freopen \ + tst-fseek \ + tst-ftell-active-handler \ + tst-ftell-append \ + tst-ftell-partial-wide \ + tst-fwrite-error \ + tst-getdelim \ + tst-memstream1 \ + tst-memstream2 \ + tst-memstream3 \ + tst-memstream4 \ + tst-mmap-eofsync \ + tst-mmap-fflushsync \ + tst-mmap-offend \ + tst-mmap-setvbuf \ + tst-mmap2-eofsync \ + tst-popen1 \ + tst-setvbuf1 \ + tst-sprintf-chk-ub \ + tst-sprintf-ub \ + tst-sscanf \ + tst-swscanf \ + tst-ungetwc1 \ + tst-ungetwc2 \ + tst-wfile-sync \ + tst-widetext \ + tst-wmemstream1 \ + tst-wmemstream2 \ + tst-wmemstream3 \ + tst-wmemstream4 \ + tst-wmemstream5 \ + tst_getwc \ + tst_putwc \ + tst_swprintf \ + tst_swscanf \ + tst_wprintf \ + tst_wprintf2 \ + tst_wscanf \ + # tests tests-internal = tst-vtables tst-vtables-interposed @@ -229,16 +283,26 @@ tests-special += $(objpfx)tst-fopenloc-cmp.out $(objpfx)tst-fopenloc-mem.out \ $(objpfx)tst-bz24228-mem.out endif -tests += tst-cleanup-default tst-cleanup-default-static +tests += \ + tst-cleanup-default \ + tst-cleanup-default-static \ + # tests tests-static += tst-cleanup-default-static tests-special += $(objpfx)tst-cleanup-default-cmp.out $(objpfx)tst-cleanup-default-static-cmp.out LDFLAGS-tst-cleanup-default = -Wl,--gc-sections LDFLAGS-tst-cleanup-default-static = -Wl,--gc-sections ifeq ($(have-gnu-retain)$(have-z-start-stop-gc),yesyes) -tests += tst-cleanup-start-stop-gc tst-cleanup-start-stop-gc-static \ - tst-cleanup-nostart-stop-gc tst-cleanup-nostart-stop-gc-static -tests-static += tst-cleanup-start-stop-gc-static tst-cleanup-nostart-stop-gc-static +tests += \ + tst-cleanup-nostart-stop-gc \ + tst-cleanup-nostart-stop-gc-static \ + tst-cleanup-start-stop-gc \ + tst-cleanup-start-stop-gc-static \ + # tests +tests-static += \ + tst-cleanup-nostart-stop-gc-static \ + tst-cleanup-start-stop-gc-static \ + # tests-static tests-special += $(objpfx)tst-cleanup-start-stop-gc-cmp.out \ $(objpfx)tst-cleanup-start-stop-gc-static-cmp.out \ $(objpfx)tst-cleanup-nostart-stop-gc-cmp.out \