From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by sourceware.org (Postfix) with ESMTPS id C1AAA3887F76 for ; Mon, 20 Feb 2023 09:57:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org C1AAA3887F76 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com Received: by mail-ed1-x52e.google.com with SMTP id o12so2748705edb.9 for ; Mon, 20 Feb 2023 01:57:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=eWLN7ECyIutr6qsPuArD1/Fx9gMckxnzJ8mNStFlClI=; b=WGOwKmvY105sBeqwyXgcLc0cBJydGaXyFGuOD4PzIGlyM9/d0UHGdvCmLrpvnqbKNP /25Ewj052IgxODhcg63dibDTEPWgFohdIoYdAgibOr+7jI+uMJo1/m0g7t9Tc4NvInOU fkOHYU0GX1sKintNu+wvTp/+EIlcFkvXFzKXJyMv4MRfOTK7Ngtxim01AjGZFtLzyWU7 D1LVKG6i74xP89OWtqVpWlkio9MnISHKjNNxdDaG6D0j+BMSE7EW31wSfn67L8+fWcgb U8a6zmi1AvtsT6DOH773vMrAwIVW1rnW5oq4196c03vWyQbOBh3EziOXZuWvaZWjDZ/I INhA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=eWLN7ECyIutr6qsPuArD1/Fx9gMckxnzJ8mNStFlClI=; b=laRPxpqbK5PWDUrQeAB2YklgYrh8ZzVWX/Pg2ZNfqLk2hrdDjkVgjKWjmXODHlgh9Y oXI62cJKpwyYVKAN+yfbtuJyNXuGHJbhYKMrfFu/eRqC9X+XBfAMTHi4wSTOSM9YaTNL myJuWnVPY9pmSEWOu4m7AgIzO8GO760upY9wxDoni7WnrQLQ4hcXZH2C5kg0z6uAy6YG QTc03r2y+UQsd5nuqYCnesSrveclegxddIRkrmJdCG4Ov7s+aKk282fnkdAm5M6B572x /DxqoCPKPxsVvJw4QA/5DKb5BeIiXJgXYa1XnANvps6QWBE6shneZMpOGLG2dlW25V/w jh8Q== X-Gm-Message-State: AO0yUKVulYXJMJ/Z9dlE3+gje2dEClX6RjusA8QSz1aHJ919Siqut+h1 /YooAxeWpHebs728HNe+eYlg9uZJztfrvpd5 X-Google-Smtp-Source: AK7set/xmXR2eK0UoWDGfOeP5ibKN6hI+RBUxwnOx6s39QNbgt4yYSW0yj/hNjEC8wVUw0JKjsL6DQ== X-Received: by 2002:a05:600c:331b:b0:3dc:4318:d00d with SMTP id q27-20020a05600c331b00b003dc4318d00dmr6335041wmp.11.1676881370829; Mon, 20 Feb 2023 00:22:50 -0800 (PST) Received: from chigot-Dell.home ([2a01:cb15:8123:8100:c288:32ca:f666:6773]) by smtp.gmail.com with ESMTPSA id z8-20020a1c4c08000000b003e1f319b87bsm13336888wmf.24.2023.02.20.00.22.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 Feb 2023 00:22:50 -0800 (PST) From: =?UTF-8?q?Cl=C3=A9ment=20Chigot?= To: binutils@sourceware.org Cc: =?UTF-8?q?Cl=C3=A9ment=20Chigot?= Subject: [PATCH 1/4] gas/testsuite: adjust a test for case insensitive file systems Date: Mon, 20 Feb 2023 09:22:21 +0100 Message-Id: <20230220082224.415968-1-chigot@adacore.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.9 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: When dealing with case insensitive file systems, ".file line.s" and ".file Line.s" are identical and thus gas won't change the current input file. However, in line.l test, it's expecting to trigger an input file switch. As the second filename doesn't matter in it, change it to fit for those file systems. gas/ChangeLog: * testsuite/gas/elf/line.l: Change Line.s to new_line.s. * testsuite/gas/elf/line.s: Adjust output. --- gas/testsuite/gas/elf/line.l | 12 ++++++------ gas/testsuite/gas/elf/line.s | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/gas/testsuite/gas/elf/line.l b/gas/testsuite/gas/elf/line.l index 6fde80b7a85..f8511298bc1 100644 --- a/gas/testsuite/gas/elf/line.l +++ b/gas/testsuite/gas/elf/line.l @@ -15,17 +15,17 @@ line\.s:[0-9]*23: Info: .* line\.s:4: Warning: m1/2: XYZ line\.s:[0-9]*23: Info: .* line\.s:[0-9]*24: Warning: \.warning .* -Line\.s:10: Warning: m2/1: 987 +new_line\.s:10: Warning: m2/1: 987 line\.s:[0-9]*26: Info: .* -Line\.s:12: Warning: m2/2: 987 +new_line\.s:12: Warning: m2/2: 987 line\.s:[0-9]*26: Info: .* -Line\.s:10: Warning: m2/1: zyx +new_line\.s:10: Warning: m2/1: zyx line\.s:[0-9]*27: Info: .* -Line\.s:12: Warning: m2/2: zyx +new_line\.s:12: Warning: m2/2: zyx line\.s:[0-9]*27: Info: .* -Line\.s:10: Warning: m2/1: CBA +new_line\.s:10: Warning: m2/1: CBA line\.s:[0-9]*28: Info: .* -Line\.s:12: Warning: m2/2: CBA +new_line\.s:12: Warning: m2/2: CBA line\.s:[0-9]*28: Info: .* line\.s:[0-9]*29: Warning: \.warning .* line\.s:[0-9]*35: Warning: irp/1: 123 diff --git a/gas/testsuite/gas/elf/line.s b/gas/testsuite/gas/elf/line.s index 2190cc3c225..e3a97887d96 100644 --- a/gas/testsuite/gas/elf/line.s +++ b/gas/testsuite/gas/elf/line.s @@ -5,7 +5,7 @@ .endm .macro m2 args:vararg - .file "Line.s" + .file "new_line.s" .line 9 .warning "m2/1: \args" .nop -- 2.25.1