From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 37ABA1382C5 for ; Tue, 9 Jun 2020 13:14:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 57548E089A; Tue, 9 Jun 2020 13:14:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3ABA6E089A for ; Tue, 9 Jun 2020 13:14:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B4C7734F0C0 for ; Tue, 9 Jun 2020 13:14:05 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1DB5A262 for ; Tue, 9 Jun 2020 13:14:04 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1591708437.2e59bd3af6564e8e862ba14a9c2b4088979cb04f.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/micropython/, dev-lang/micropython/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-lang/micropython/files/micropython-1.11-exclude-float-parse-tests.patch dev-lang/micropython/micropython-1.11.ebuild X-VCS-Directories: dev-lang/micropython/files/ dev-lang/micropython/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 2e59bd3af6564e8e862ba14a9c2b4088979cb04f X-VCS-Branch: master Date: Tue, 9 Jun 2020 13:14:04 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8508da3e-06dc-47c1-a439-b0d3a2bbde51 X-Archives-Hash: 61977d167d4cb7af2a3dac334af30583 commit: 2e59bd3af6564e8e862ba14a9c2b4088979cb04f Author: Patrice Clement gentoo org> AuthorDate: Tue Jun 9 13:13:32 2020 +0000 Commit: Patrice Clement gentoo org> CommitDate: Tue Jun 9 13:13:57 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e59bd3a dev-lang/micropython: restore tests. Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Patrice Clement gentoo.org> .../files/micropython-1.11-exclude-float-parse-tests.patch | 12 ++++++++++++ dev-lang/micropython/micropython-1.11.ebuild | 9 ++++----- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/dev-lang/micropython/files/micropython-1.11-exclude-float-parse-tests.patch b/dev-lang/micropython/files/micropython-1.11-exclude-float-parse-tests.patch new file mode 100644 index 00000000000..6d81661790e --- /dev/null +++ b/dev-lang/micropython/files/micropython-1.11-exclude-float-parse-tests.patch @@ -0,0 +1,12 @@ +--- a/tests/run-tests 2020-06-09 13:09:24.239121947 -0000 ++++ b/tests/run-tests 2020-06-09 13:09:57.315476363 -0000 +@@ -377,6 +377,9 @@ + skip_tests.add('micropython/heapalloc_traceback.py') # because native doesn't have proper traceback info + skip_tests.add('micropython/schedule.py') # native code doesn't check pending events + ++ skip_tests.add('float/float_parse.py') ++ skip_tests.add('float/float_parse_doubleprec.py') ++ # these two tests fail for some reason. + for test_file in tests: + test_file = test_file.replace('\\', '/') + diff --git a/dev-lang/micropython/micropython-1.11.ebuild b/dev-lang/micropython/micropython-1.11.ebuild index 94d80d97d92..bdf54e45b9e 100644 --- a/dev-lang/micropython/micropython-1.11.ebuild +++ b/dev-lang/micropython/micropython-1.11.ebuild @@ -19,11 +19,10 @@ DEPEND=" virtual/libffi virtual/pkgconfig" -PATCHES=( "${FILESDIR}/${P}-prevent-stripping.patch" ) - -# A few tests fail after enforcing CFLAGS/LDFLAGS. -# We need to work out why. -RESTRICT="test" +PATCHES=( + "${FILESDIR}/${P}-prevent-stripping.patch" + "${FILESDIR}/${P}-exclude-float-parse-tests.patch" +) src_prepare() { default