From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 68603 invoked by alias); 14 May 2019 21:46:36 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 68595 invoked by uid 89); 14 May 2019 21:46:36 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1 spammy=HX-Languages-Length:1607, sk:riscv64, H*Ad:D*fr X-HELO: esa6.hgst.iphmx.com Received: from esa6.hgst.iphmx.com (HELO esa6.hgst.iphmx.com) (216.71.154.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 14 May 2019 21:46:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1557870395; x=1589406395; h=from:to:cc:subject:date:message-id:content-id: content-transfer-encoding:mime-version; bh=fVXxEmr5yFsW+OAIKmpzhlaMwvYp1mAnkrFGzOlYcjE=; b=LIp/lYty7QbT71FBYElnZE7kY7fKmyzOfF1nH0XXpoDRzluFosuD02GT Y+rBfMmfH9WGdO93M/pEOYisV4nb/mBIunseBZo9kVXGwClAdAhWMzpgN UHVMqYTyJmUITKaX+xi7x5wm8Xdd7kI7O2EyCBsixRYkivk94ExBboGBq pAjadqwM5yFcJeOOwjpnowLYWz5Dk77lauZWjXuz+ymGB/E3RKwVXsbH3 pRIL6JDU5eaAAEq919QF0ngNbf7eDotSpDtdfQrvSH0uWNpoMkIbBUVZQ 7JlA3eZrgSDw+4ouH4wU94aHNOQqfjzTi8dor9Nzrc9s8kaJTsPQZDeH0 w==; Received: from mail-co1nam05lp2051.outbound.protection.outlook.com (HELO NAM05-CO1-obe.outbound.protection.outlook.com) ([104.47.48.51]) by ob1.hgst.iphmx.com with ESMTP; 15 May 2019 05:46:33 +0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sharedspace.onmicrosoft.com; s=selector1-wdc-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=93w1zwcUsDD2EUTpfZFD+OCX583xGwljt7dyRlPFCJo=; b=al0bnpirOhqw0VUZQH9dDrPK0yviWqg95S7U4ZdCbOPLzPGBKxHUsXskJW9oDUs+bqTBPNP5jbnKD6ntu7hxuNvJbuPdV6rvL1PUMqI1nBg4o8O41fvfAam8s/lGc8dfOiUJwcBNSJWkPEu3BaQDuG61lzlPOTWXlpG6SdRnmNQ= Received: from BYAPR04MB6262.namprd04.prod.outlook.com (20.178.235.160) by BYAPR04MB6214.namprd04.prod.outlook.com (20.178.233.147) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1878.25; Tue, 14 May 2019 21:46:31 +0000 Received: from BYAPR04MB6262.namprd04.prod.outlook.com ([fe80::31ee:c691:33ca:b46b]) by BYAPR04MB6262.namprd04.prod.outlook.com ([fe80::31ee:c691:33ca:b46b%3]) with mapi id 15.20.1878.024; Tue, 14 May 2019 21:46:31 +0000 From: "Maciej W. Rozycki" To: "gcc-patches@gcc.gnu.org" , "dejagnu@gnu.org" CC: Arnaud Charlet , Eric Botcazou , Pierre-Marie de Rodat Subject: [PATCH 0/3] GNAT test suite fixes for build sysroot Date: Tue, 14 May 2019 21:46:00 -0000 Message-ID: authentication-results: spf=none (sender IP is ) smtp.mailfrom=macro@wdc.com; wdcipoutbound: EOP-TRUE x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 Content-Type: text/plain; charset="us-ascii" Content-ID: <0F3B205936946747B4B43175DDC46222@namprd04.prod.outlook.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-SW-Source: 2019-05/txt/msg00752.txt.bz2 Hi, In the course of setting up GCC regression testing for the RISC-V target=20 I have discovered that the GNAT test suite does not correctly respond to=20 the test environment settings passed from the test harness in my setup and= =20 consequently no test case works correctly. In my particular setup `--with-build-sysroot=3D' has been used to configur= e=20 GCC and also additional linker flags are defined in the target board so=20 that adjusted paths are used for the dynamic loader and shared libraries=20 to be found in the build sysroot at the test suite run time. That plays=20 well with most of the test suites included with GCC, but not the GNAT one. I have tracked down the cause to three issues spread across `gnatmake',=20 the GNAT test driver and the DejaGNU target driver. These issues are=20 independent from each other, however all have to be addressed for the test= =20 suite to run, so I have decided to group them into a series despite that=20 each of them can be applied separately, and the DejaGNU one goes to a=20 separate project even. With them all in place I get these results with the `riscv64-linux-gnu' target: =3D=3D=3D gnat Summary =3D=3D=3D # of expected passes 2926 # of unexpected failures 5 # of expected failures 23 # of unsupported tests 26 which I think are pretty good, especially compared to the original results= =20 without these changes: =3D=3D=3D gnat Summary =3D=3D=3D # of expected passes 1580 # of unexpected failures 133 # of unexpected successes 23 # of unresolved testcases 875 # of unsupported tests 26 See individual change descriptions for details. Maciej