public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrice Clement" <monsieurp@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/micropython/, dev-lang/micropython/files/
Date: Tue,  9 Jun 2020 13:14:04 +0000 (UTC)	[thread overview]
Message-ID: <1591708437.2e59bd3af6564e8e862ba14a9c2b4088979cb04f.monsieurp@gentoo> (raw)

commit:     2e59bd3af6564e8e862ba14a9c2b4088979cb04f
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  9 13:13:32 2020 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> 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 <monsieurp <AT> 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


             reply	other threads:[~2020-06-09 13:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-09 13:14 Patrice Clement [this message]
  -- strict thread matches above, loose matches on Subject: below --
2019-11-27 22:48 [gentoo-commits] repo/gentoo:master commit in: dev-lang/micropython/, dev-lang/micropython/files/ Patrice Clement
2017-11-25 11:51 Patrice Clement

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1591708437.2e59bd3af6564e8e862ba14a9c2b4088979cb04f.monsieurp@gentoo \
    --to=monsieurp@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox