diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2020-06-09 15:13:32 +0200 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2020-06-09 15:13:57 +0200 |
commit | 2e59bd3af6564e8e862ba14a9c2b4088979cb04f (patch) | |
tree | 052f5e0d8c512115c6e4e00ad54fe832562fc70d /dev-lang/micropython | |
parent | dev-python/pyperclip: Disable klipper tests (diff) | |
download | gentoo-2e59bd3af6564e8e862ba14a9c2b4088979cb04f.tar.gz gentoo-2e59bd3af6564e8e862ba14a9c2b4088979cb04f.tar.bz2 gentoo-2e59bd3af6564e8e862ba14a9c2b4088979cb04f.zip |
dev-lang/micropython: restore tests.
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'dev-lang/micropython')
-rw-r--r-- | dev-lang/micropython/files/micropython-1.11-exclude-float-parse-tests.patch | 12 | ||||
-rw-r--r-- | 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 000000000000..6d81661790e9 --- /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 94d80d97d921..bdf54e45b9ee 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 |