Message ID | yddv86rz5c6.fsf@CeBiTec.Uni-Bielefeld.DE |
---|---|
State | Accepted |
Headers |
Return-Path: <gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:bc8a:b0:106:860b:bbdd with SMTP id dn10csp1125564dyb; Wed, 14 Feb 2024 02:52:21 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWTTNF3v9C7jgEnmXNzdsKTL4+akXO4o6dk78J+QeP5/2yfeS8HPnt8+3bRM8kfaUUuHbJWti2x/NdSVNsnR5rimLEy9A== X-Google-Smtp-Source: AGHT+IF5L/vxaRzueaXJ5RljhjfbHhQ+dc8lJfolkixLQJBqpZ9Ar11FndufxsBSm3aSCpq691tB X-Received: by 2002:a0c:f50d:0:b0:68c:7c27:fc83 with SMTP id j13-20020a0cf50d000000b0068c7c27fc83mr2016766qvm.18.1707907941284; Wed, 14 Feb 2024 02:52:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707907941; cv=pass; d=google.com; s=arc-20160816; b=qZoqBz7tcScTTtZ7pd/ZTiuRwNnyNvNKsYwxyU20O8mdyO/Sh3h23KdZyhRhiphf91 d6qyTBtvqS8P+eb2E2kJ/pfbCLtKiTtcIRLLVgUrubpn0nHhd6bCQec5mxlg9ZvO9I8T kL6Bxv/gerWC6otLck5L3MDhvgeCl6Zd4qWYW1hBBF0ui5BMabDjQTozvcLFKuelm4BQ Apgx4Ymbb1uQRFIc+xSgZ63ZpN626oDVhWRpNvD+bXzb9pxGxL35DRBEIwtEzW983A4d GdLWmRe+pfqPglNUORmY36B0PWAo2C6TbBXuXKd5Krk4XzMTzaNI7zPIrP5LDUqLRzgp wI/w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:mime-version:user-agent :message-id:date:subject:cc:to:from:dkim-signature:arc-filter :dmarc-filter:delivered-to; bh=KonQ0ji8Ktn1U7hj4Qf+NtPR6Pz2Oo8I1M0SXy91IB0=; fh=HffvIOJ5WtPZZo/s6bKnmonsaKDtr06c9GLMaHd282U=; b=SM/glOnMUs1lbUe8wd236zEEMS8c6JcPqA0T9Nyp2hm1fuw1J7XEezaSHXCtPsdhOy alv5Lo3sPW1IRq35opCQ+1h1RQBQeUPDaKY3i2NutTLHeK4DiFsv0z4lDPufYmxeLmqU m/qdBKn4Zdej4G5/7Ag+2mo1TkLTOzZqY3pVtQS3ht0kv83nN15JA1GfM3gAmL7Wz9DP ECEmWZBM+UBLboYmMBhdy1pT0f+gnHnDc/FOYUMCcyQpbavRY0d0R0XakLyYDzHEBbqh OIXml2Dog0yskC5JULzfDm86+4fE6XUsTznLdXWdJDIsIZKf7dI94R95bQ490G5z/bMU gFKA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@cebitec.uni-bielefeld.de header.s=20200306 header.b=MOHA19uq; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" X-Forwarded-Encrypted: i=2; AJvYcCVRK5M1OovWY01UPEgwoY9ai187rEfJ0sRxhTKqEAFn/uud/HKlZKx7gOwt8KduGF1CuY3rfKC7Tv0V3QDagbkLNsUNOw== Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id q3-20020a05621419e300b0068ce415e255si4969507qvc.172.2024.02.14.02.52.21 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Feb 2024 02:52:21 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; dkim=pass header.i=@cebitec.uni-bielefeld.de header.s=20200306 header.b=MOHA19uq; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 0019A385C422 for <ouuuleilei@gmail.com>; Wed, 14 Feb 2024 10:52:20 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp.CeBiTec.Uni-Bielefeld.DE (smtp.CeBiTec.Uni-Bielefeld.DE [129.70.160.84]) by sourceware.org (Postfix) with ESMTPS id 478AE385C6E8 for <gcc-patches@gcc.gnu.org>; Wed, 14 Feb 2024 10:51:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 478AE385C6E8 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=CeBiTec.Uni-Bielefeld.DE Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cebitec.uni-bielefeld.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 478AE385C6E8 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=129.70.160.84 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707907901; cv=none; b=WDJbCsiNC7ksbckHld1tygQ2CIcupKG8eor8f8wZY+7CcNN9OPfYFIerGeEzL4BZ/JqoQKzWRgt+dgEIhO4JXhAboaWLbtRnFhWuXuqRpC+7Din7DnWsB1Zy/MIojB5teMF7PmB74VCNn6IewqLoj5H1HSi2nUIZgW5HHJGhPJ4= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1707907901; c=relaxed/simple; bh=DtejLSMjaNKYGoSutK+2ieRW6NZKekz6m6XGZwhATM4=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=paP5HGyjm7guokXQjCJ32tjqvLgjnKRweYOJoVzOLTn0bYab75JUD+PFv4ddntaU4fJGlFopoXyy/lMtm4zwOMij8k4Ox8pI6vPrWGroRfHyjbEVFjABrVx6Cfp5Tt83RO6TI8WypqhpSAdaq/xw3sc33pZkEnmB+IRBSSMQQ3Q= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from localhost (localhost [127.0.0.1]) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTP id 4718FC3D94; Wed, 14 Feb 2024 11:51:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= cebitec.uni-bielefeld.de; h=content-type:content-type :mime-version:user-agent:message-id:date:date:subject:subject :from:from:received:received; s=20200306; t=1707907897; bh=DtejL SMjaNKYGoSutK+2ieRW6NZKekz6m6XGZwhATM4=; b=MOHA19uqC7hqsklsFcFoV Fg+/zkOIkJfdLjBQ9Exox3a5BxdUuqw3cC4LgDxhNZhkb8agw3tVK4b/lIYtCydn iiFs8IbVG13sgnndWIwdfoA3ukdYYktqBRZEfuFuqDXb2yQa/TvoIC2qCe3J0Z9D NhMU1Taasg5IceWLq+T0kQsV6nu60tfyR7tvUUTsFU47ZAqKIDAML3k/A7WaTy+k s7SufF0L6LUVO6UfDBqzgAothmbs6K2ob93eYeDc92V+sG29QsYI7QudBHS8NnLk ZIb/Hi/ipi46Xc9wUrKbA7yIuEvu/TjH/5+O4YupxsOVKwlSt26nZFIjjv6OTycF A== X-Virus-Scanned: amavisd-new at cebitec.uni-bielefeld.de Received: from smtp.CeBiTec.Uni-Bielefeld.DE ([127.0.0.1]) by localhost (smtp.cebitec.uni-bielefeld.de [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id iIgJtD5gN72U; Wed, 14 Feb 2024 11:51:37 +0100 (CET) Received: from manam.CeBiTec.Uni-Bielefeld.DE (p5085539e.dip0.t-ipconnect.de [80.133.83.158]) (Authenticated sender: ro) by smtp.CeBiTec.Uni-Bielefeld.DE (Postfix) with ESMTPSA id A1D50C3D93; Wed, 14 Feb 2024 11:51:37 +0100 (CET) From: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> To: gcc-patches@gcc.gnu.org Cc: Iain Buclaw <ibuclaw@gdcproject.org> Subject: [PATCH] testsuite: gdc: Require ucn in gdc.test/runnable/mangle.d etc. [PR104739] Date: Wed, 14 Feb 2024 11:51:37 +0100 Message-ID: <yddv86rz5c6.fsf@CeBiTec.Uni-Bielefeld.DE> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1.90 (usg-unix-v) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Status: No, score=-3789.6 required=5.0 tests=BAYES_00, BODY_8BITS, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, GIT_PATCH_0, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE 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: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790871277080821290 X-GMAIL-MSGID: 1790871277080821290 |
Series |
testsuite: gdc: Require ucn in gdc.test/runnable/mangle.d etc. [PR104739]
|
|
Checks
Context | Check | Description |
---|---|---|
snail/gcc-patch-check | success | Github commit url |
Commit Message
Rainer Orth
Feb. 14, 2024, 10:51 a.m. UTC
gdc.test/runnable/mangle.d and two other tests come out UNRESOLVED on Solaris with the native assembler: UNRESOLVED: gdc.test/runnable/mangle.d compilation failed to produce executable UNRESOLVED: gdc.test/runnable/mangle.d -shared-libphobos compilation failed to produce executable UNRESOLVED: gdc.test/runnable/testmodule.d compilation failed to produce executable UNRESOLVED: gdc.test/runnable/testmodule.d -shared-libphobos compilation failed to produce executable UNRESOLVED: gdc.test/runnable/ufcs.d compilation failed to produce executable UNRESOLVED: gdc.test/runnable/ufcs.d -shared-libphobos compilation failed to produce executable Assembler: mangle.d "/var/tmp//cci9q2Sc.s", line 115 : Syntax error Near line: " movzbl test_эльфийские_письмена_9, %eax" "/var/tmp//cci9q2Sc.s", line 115 : Syntax error Near line: " movzbl test_эльфийские_письмена_9, %eax" "/var/tmp//cci9q2Sc.s", line 115 : Syntax error Near line: " movzbl test_эльфийские_письмена_9, %eax" "/var/tmp//cci9q2Sc.s", line 115 : Syntax error Near line: " movzbl test_эльфийские_письмена_9, %eax" "/var/tmp//cci9q2Sc.s", line 115 : Syntax error [...] since /bin/as lacks UCN support. Iain recently added UNICODE_NAMES: annotations to the affected tests and those recently were imported into trunk. This patch handles the DejaGnu side of things, adding { dg-require-effective-target ucn } to those tests on the fly. Tested on i386-pc-solaris2.11, sparc-sun-solaris2.11 (as and gas each), and x86_64-pc-linux-gnu. Ok for trunk. Rainer
Comments
Excerpts from Rainer Orth's message of Februar 14, 2024 11:51 am: > gdc.test/runnable/mangle.d and two other tests come out UNRESOLVED on > Solaris with the native assembler: > > UNRESOLVED: gdc.test/runnable/mangle.d compilation failed to produce executable > UNRESOLVED: gdc.test/runnable/mangle.d -shared-libphobos compilation failed to produce executable > UNRESOLVED: gdc.test/runnable/testmodule.d compilation failed to produce executable > UNRESOLVED: gdc.test/runnable/testmodule.d -shared-libphobos compilation failed to produce executable > UNRESOLVED: gdc.test/runnable/ufcs.d compilation failed to produce executable > UNRESOLVED: gdc.test/runnable/ufcs.d -shared-libphobos compilation failed to produce executable > > Assembler: mangle.d > "/var/tmp//cci9q2Sc.s", line 115 : Syntax error > Near line: " movzbl test_эльфийские_письмена_9, %eax" > "/var/tmp//cci9q2Sc.s", line 115 : Syntax error > Near line: " movzbl test_эльфийские_письмена_9, %eax" > "/var/tmp//cci9q2Sc.s", line 115 : Syntax error > Near line: " movzbl test_эльфийские_письмена_9, %eax" > "/var/tmp//cci9q2Sc.s", line 115 : Syntax error > Near line: " movzbl test_эльфийские_письмена_9, %eax" > "/var/tmp//cci9q2Sc.s", line 115 : Syntax error > [...] > > since /bin/as lacks UCN support. > > Iain recently added UNICODE_NAMES: annotations to the affected tests and > those recently were imported into trunk. > > This patch handles the DejaGnu side of things, adding > > { dg-require-effective-target ucn } > > to those tests on the fly. > > Tested on i386-pc-solaris2.11, sparc-sun-solaris2.11 (as and gas each), > and x86_64-pc-linux-gnu. > > Ok for trunk. > OK. Thanks! Iain.
# HG changeset patch # Parent 5072a8062cf1eac00205b715f4c1af31c9fc45ca testsuite: gdc: Require ucn in gdc.test/runnable/mangle.d etc. [PR104739] diff --git a/gcc/testsuite/lib/gdc-utils.exp b/gcc/testsuite/lib/gdc-utils.exp --- a/gcc/testsuite/lib/gdc-utils.exp +++ b/gcc/testsuite/lib/gdc-utils.exp @@ -244,6 +244,7 @@ proc gdc-copy-file { srcdir filename } { # POST_SCRIPT: Not handled. # REQUIRED_ARGS: Arguments to add to the compiler command line. # DISABLED: Not handled. +# UNICODE_NAMES: Requires ucn support. # proc gdc-convert-test { base test } { @@ -365,6 +366,10 @@ proc gdc-convert-test { base test } { # COMPILABLE_MATH_TEST annotates tests that import the std.math # module. Which will need skipping if not available on the target. set needs_phobos 1 + } elseif [regexp -- {UNICODE_NAMES} $copy_line] { + # Require ucn support. + puts $fdout "// { dg-require-effective-target ucn }" + } }