diff options
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 |