Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pyodide
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
pyodide
Commits
5c5bf6ad
Commit
5c5bf6ad
authored
Jul 18, 2018
by
Michael Droettboom
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Obsoletes #22. Include all codecs, since removing tests imp. size.
parent
6c9cbc11
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
27 additions
and
24 deletions
+27
-24
Makefile
Makefile
+0
-1
cpython/Setup.local
cpython/Setup.local
+9
-0
test/python_tests.txt
test/python_tests.txt
+17
-22
test/test_python.py
test/test_python.py
+1
-1
No files found.
Makefile
View file @
5c5bf6ad
...
...
@@ -154,7 +154,6 @@ root/.built: \
(
\
cd
root/lib/python
$(PYMINOR)
;
\
rm
-fr
`
cat
../../../remove_modules.txt
`
;
\
rm
encodings/mac_
*
.py
;
\
rm
-fr
test
;
\
find
.
-name
"*.wasm.pre"
-type
f
-delete
;
\
find
-type
d
-name
__pycache__
-prune
-exec
rm
-rf
{}
\;
\
...
...
cpython/Setup.local
View file @
5c5bf6ad
...
...
@@ -36,3 +36,12 @@ _md5 md5module.c
_blake2 _blake2/blake2module.c _blake2/blake2b_impl.c ../../host/Python-3.6.4/Modules/_blake2/blake2s_impl.c
#future_builtins future_builtins.c
_multibytecodec cjkcodecs/multibytecodec.c
_codecs_cn cjkcodecs/_codecs_cn.c
_codecs_hk cjkcodecs/_codecs_hk.c
_codecs_iso2022 cjkcodecs/_codecs_iso2022.c
_codecs_jp cjkcodecs/_codecs_jp.c
_codecs_kr cjkcodecs/_codecs_kr.c
_codecs_tw cjkcodecs/_codecs_tw.c
test/python_tests.txt
View file @
5c5bf6ad
...
...
@@ -11,11 +11,6 @@
# probably be marked as "skip" or rearchitected so we don't have to skip the
# whole module.
# - networking: Fails because it tests low-level networking.
# - unknown encoding: Most of the larger and more rare encodings are excluded
# from the build for size reasons. Python code should just use Unicode, and to
# the extent that obscure codecs are needed, they should be available on the
# Javascript side. Long term plan is to transparently call over to Javascript
# for this stuff.
# - dbm: Failures due to no dbm module
# - _lsprof: Failures due to no _lsprof module
# - strftime: Failures due to differences / shortcomings in WebAssembly's
...
...
@@ -90,18 +85,18 @@ test_cmd_line_script subprocess
test_code
test_code_module
test_codeccallbacks
test_codecencodings_cn
unknown encoding
test_codecencodings_hk
unknown encoding
test_codecencodings_iso2022
unknown encoding
test_codecencodings_jp
unknown encoding
test_codecencodings_kr
unknown encoding
test_codecencodings_tw
unknown encoding
test_codecencodings_cn
test_codecencodings_hk
test_codecencodings_iso2022
test_codecencodings_jp
test_codecencodings_kr
test_codecencodings_tw
test_codecmaps_cn
test_codecmaps_hk
test_codecmaps_jp
test_codecmaps_kr
test_codecmaps_tw
test_codecs
unknown encoding
test_codecs
test_codeop
test_collections
test_colorsys
...
...
@@ -155,9 +150,9 @@ test_email.test__header_value_parser
test_email.test_asian_codecs
test_email.test_contentmanager
test_email.test_defect_handling
test_email.test_email
unknown encoding
test_email.test_email
test_email.test_generator
test_email.test_headerregistry
unknown encoding
test_email.test_headerregistry
test_email.test_inversion
test_email.test_message
test_email.test_parser
...
...
@@ -252,7 +247,7 @@ test_importlib.test_abc
test_importlib.test_api crash
test_importlib.test_lazy
test_importlib.test_locks
test_importlib.test_namespace_pkgs
unknown encoding
test_importlib.test_namespace_pkgs
test_importlib.test_spec
test_importlib.test_util crash
test_importlib.test_windows platform-specific
...
...
@@ -300,7 +295,7 @@ test_lzma
test_macpath platform-specific
test_macurl2path
test_mailbox crash
test_mailcap
unknown
test_mailcap
test_marshal
test_math floating-point
test_memoryio
...
...
@@ -312,7 +307,7 @@ test_mmap
test_module
test_modulefinder crash
test_msilib
test_multibytecodec
unknown codec
test_multibytecodec
test_multiprocessing_fork
test_multiprocessing_forkserver
test_multiprocessing_main_handling
...
...
@@ -366,7 +361,7 @@ test_quopri subprocess
test_raise
test_random
test_range
test_re
unknown codec
test_re
locale
test_readline
test_regrtest subprocess
test_repl subprocess
...
...
@@ -398,7 +393,7 @@ test_sndhdr audioop
test_socket
test_socketserver
test_sort
test_source_encoding subprocess,
unknown encoding
test_source_encoding subprocess,
test_spwd
test_sqlite
test_ssl
...
...
@@ -467,7 +462,7 @@ test_typing unknown
test_ucn
test_unary
test_unicode crash
test_unicode_file
unknown codec
test_unicode_file
test_unicode_file_functions
test_unicode_identifiers
test_unicodedata
...
...
@@ -502,8 +497,8 @@ test_with
test_wsgiref
test_xdrlib
test_xml_dom_minicompat
test_xml_etree
unknown encoding
test_xml_etree_c
unknown encoding
test_xml_etree
test_xml_etree_c
test_xmlrpc networking
test_xmlrpc_net
test_yield_from
...
...
test/test_python.py
View file @
5c5bf6ad
...
...
@@ -287,7 +287,7 @@ def test_run_core_python_test(python_test, selenium):
def
pytest_generate_tests
(
metafunc
):
if
'python_test'
in
metafunc
.
fixturenames
:
test_modules
=
[]
if
'CIRCLECI'
not
in
os
.
environ
:
if
'CIRCLECI'
not
in
os
.
environ
or
True
:
with
open
(
str
(
pathlib
.
Path
(
__file__
).
parents
[
0
]
/
"python_tests.txt"
))
as
fp
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment