From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 39372 invoked by alias); 31 Jan 2017 09:12:31 -0000 Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org Received: (qmail 39355 invoked by uid 89); 31 Jan 2017 09:12:30 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.8 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 spammy=kumar, Kumar, digit, rom X-HELO: email.microchip.com Received: from exsmtp02.microchip.com (HELO email.microchip.com) (198.175.253.38) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 31 Jan 2017 09:12:20 +0000 Received: from jaguar.microchip.com (10.10.76.4) by chn-sv-exch02.mchp-main.com (10.10.76.38) with Microsoft SMTP Server id 14.3.181.6; Tue, 31 Jan 2017 02:12:18 -0700 User-agent: mu4e 0.9.18; emacs 25.1.1 From: Senthil Kumar Selvaraj To: "binutils@sourceware.org" Subject: Fix failing print-memory-usage-1 on Windows Date: Tue, 31 Jan 2017 09:12:00 -0000 Message-ID: <87poj31tlw.fsf@microchip.com> MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2017-01/txt/msg00461.txt.bz2 Hi, The below trivial patch slightly relaxes the percentage used value in print-memory-usage-1.l to make it pass on Windows (Win 10 x64 using WSL subsystem). Ok for master? Regards Senthil ld/ChangeLog 2017-01-31 Senthil Kumar Selvaraj * testsuite/ld-scripts/print-memory-usage-1.l: Relax check for digit in second decimal place. diff --git ld/testsuite/ld-scripts/print-memory-usage-1.l ld/testsuite/ld-scripts/print-memory-usage-1.l index 34bc895..e666a63 100644 --- ld/testsuite/ld-scripts/print-memory-usage-1.l +++ ld/testsuite/ld-scripts/print-memory-usage-1.l @@ -1,3 +1,3 @@ Memory region Used Size Region Size %age Used - ROM: 32 B 1 KB 3.12% + ROM: 32 B 1 KB 3.1[23]% RAM: 32 B 256 KB 0.01%