From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 46475138CCF for ; Wed, 13 May 2015 04:27:01 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CD023E07DA; Wed, 13 May 2015 04:26:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 73D7FE07DA for ; Wed, 13 May 2015 04:26:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 620ED340E16 for ; Wed, 13 May 2015 04:26:57 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0F4739D3 for ; Wed, 13 May 2015 04:26:56 +0000 (UTC) From: "Ryan Hill" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ryan Hill" Message-ID: <1431490168.d45de09450ffb63b138bbb7f78cae43e1101e2ec.rhill@gentoo> Subject: [gentoo-commits] proj/gcc-config:master commit in: tests/ X-VCS-Repository: proj/gcc-config X-VCS-Files: tests/run_tests X-VCS-Directories: tests/ X-VCS-Committer: rhill X-VCS-Committer-Name: Ryan Hill X-VCS-Revision: d45de09450ffb63b138bbb7f78cae43e1101e2ec X-VCS-Branch: master Date: Wed, 13 May 2015 04:26:56 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 5e5b7d25-6639-4b0c-b651-e8ed8b85a8b0 X-Archives-Hash: 1b17a6e6697561de8a46c0cd90ba5130 commit: d45de09450ffb63b138bbb7f78cae43e1101e2ec Author: Ryan Hill gentoo org> AuthorDate: Wed May 13 04:09:28 2015 +0000 Commit: Ryan Hill gentoo org> CommitDate: Wed May 13 04:09:28 2015 +0000 URL: https://gitweb.gentoo.org/proj/gcc-config.git/commit/?id=d45de094 Ignore whitespace when diffing test results. The amount of whitespace output by ebegin/eend from gentoo-functions is dynamic (seems to be dependent on terminal width). Since we can't predict this we have to ignore all whitespace differences. URL: https://bugs.gentoo.org/547586 Reported-by: tka kamph.org> Signed-off-by: Ryan Hill gentoo.org> tests/run_tests | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/run_tests b/tests/run_tests index 2ff7d77..397d667 100755 --- a/tests/run_tests +++ b/tests/run_tests @@ -44,7 +44,7 @@ cmp_log() { args+=( -e "s|: line [0-9]*: |: |g" ) sed "${args[@]}" "${exp}" > "${exp}.tmp" sed "${args[@]}" "${log}" > "${log}.tmp" - diff -u "${exp}.tmp" "${log}.tmp" > "${log}.diff" + diff -uw "${exp}.tmp" "${log}.tmp" > "${log}.diff" ret=$? rm "${exp}.tmp" return ${ret}