Commit Graph

63 Commits

Author SHA1 Message Date
Michael Droettboom bd846468bc
Merge pull request #176 from mdboom/reorganize-public-api
Reorg pyodide ns to separate emscripten details from public API
2018-09-19 14:33:22 -04:00
Michael Droettboom fcc2b7a036 Reorg pyodide ns to separate emscripten details from public API 2018-09-19 10:50:23 -04:00
Michael Droettboom cc47fc5fa6 Run tests standalone 2018-09-17 15:35:54 -04:00
Michael Droettboom 82ed00a3be Guard against infinite recursion in self-referential data structures 2018-09-17 13:03:08 -04:00
Roman Yurchak 59de8d4a6d Expose version information in javascript 2018-09-14 17:12:32 +02:00
Michael Droettboom 65817abc7d Add test 2018-09-12 10:16:23 -04:00
Roman Yurchak d869ac5bfc Use multi-line code snippets in tests 2018-09-07 14:35:00 +02:00
Michael Droettboom 56562257ef Fix #71: Upgrade to Python 3.7 2018-09-06 10:56:33 -04:00
Roman Yurchak f35aa2eede More review comments 2018-08-28 17:59:13 +03:00
Roman Yurchak 0b752777a2 Don't use pytest-rerunfailures 2018-08-22 12:43:07 +03:00
Roman Yurchak e2a723de5f Don't run xfail tests 2018-08-22 12:42:22 +03:00
Roman Yurchak 02b61eea62 Use selenium.browser in test_run_core_python_test 2018-08-21 11:09:34 +03:00
Roman Yurchak 02905d8ca5 Show pytest report for skipped tests, XFAIL, XPASS 2018-08-21 11:08:47 +03:00
Roman Yurchak 22ecc34847 Supporting Chrome/Firefox specific failures 2018-08-21 11:08:47 +03:00
Roman Yurchak 30195bfa8a Marking known failures in test_run_core_python_test 2018-08-21 11:08:47 +03:00
Roman Yurchak 9245f6f246 More generic selenium fixture caching mechanism 2018-08-20 20:02:12 +03:00
Michael Droettboom 154a65ff7b Add missing import 2018-08-06 15:01:59 -04:00
Michael Droettboom 6c8c599dce Automatically retry failed tests 2018-08-06 14:29:19 -04:00
Michael Droettboom fa23049e0c Minor fixups from pull request 2018-08-06 10:01:28 -04:00
Michael Droettboom 2d0b9ee23a Use pathlib for path manipulations 2018-08-03 17:11:38 -04:00
Michael Droettboom 779da3cd4e
Merge pull request #96 from mdboom/fix93-string-decoding
Fix #93 by avoiding use of TextDecoder
2018-07-30 15:37:20 -04:00
Michael Droettboom a07b6f3913 Fix #93 by avoiding use of TextDecoder
Any use of TextDecoder on a part of the Wasm HEAP seems to cause crashes
when using WebAssembly.instantiate later on (in Chrome).

The fix is to:

- Avoid use of TextDecoder in emscripten-generated code by setting
  -s TEXTDECODER=0
- Do the Python-to-JS string conversion a different way:

  - Handle the native format of a Python Unicode string (which is either UCS1,
    UCS 2 or UCS 4) directly.  This has the added advantage of being
    computationally simpler than encoding/decoding to/from UTF8.
2018-07-26 16:50:12 -04:00
Michael Droettboom 5c5bf6adf3 Obsoletes #22. Include all codecs, since removing tests imp. size. 2018-07-25 07:27:15 -04:00
Michael Droettboom 144e6f04bc LINT 2018-07-24 13:02:49 -04:00
Michael Droettboom 876c9a5bc0 Turn off full Python tests 2018-07-24 12:59:03 -04:00
Michael Droettboom 9d74363275 Turn on core Python tests 2018-07-23 12:43:08 -04:00
Michael Droettboom 1aa2fc1265 LINT 2018-07-23 11:39:10 -04:00
Michael Droettboom 59bf78f93c Decrease Python call stack size so it doesn't exceed JS call stack 2018-07-23 11:38:51 -04:00
Michael Droettboom 565548c9fd LINT 2018-07-17 12:46:02 -04:00
Michael Droettboom 66e811dac1 Don't copy data if already on the WASM heap 2018-07-17 10:38:59 -04:00
Michael Droettboom b5e9630f0d
Merge pull request #70 from iodide-project/chromedriver
Add testing with Chrome
2018-07-11 10:50:00 -04:00
Michael Droettboom 075ffca0e2 Handle catching Javascript exceptions in a unified way 2018-07-09 20:59:03 -04:00
Michael Droettboom aa03438131 Proxy compatibility for Chrome 2018-07-09 17:15:10 -04:00
Michael Droettboom 670473f29b Fix webserver 2018-07-09 17:15:04 -04:00
Michael Droettboom 5d29723374 Convert typedarrays to/from buffers/memoryviews 2018-06-29 16:18:29 -04:00
Michael Droettboom 55aedee7b3
Merge pull request #63 from iodide-project/js2python-typed-array
Fix the passing of Javascript typed arrays to Python
2018-06-27 11:45:18 -04:00
Michael Droettboom 9b5024613b Fix the passing of Javascript typed arrays to Python 2018-06-27 10:57:53 -04:00
Michael Droettboom 6b8f5e2727 Add a lot more jsproxy functionality 2018-06-25 16:55:35 -04:00
Michael Droettboom c00b9bb6b8 Fix expected error message 2018-06-25 09:09:16 -04:00
Michael Droettboom a4154d9669 Add destroy method to remove references to Python objects 2018-06-24 12:29:46 -04:00
Michael Droettboom e2e8b29739 Linting 2018-06-24 12:23:30 -04:00
Michael Droettboom d9b74e0571 Don't run core Python tests on CircleCI 2018-06-24 12:13:24 -04:00
Michael Droettboom b8b9519575 More work trying to get linting working again 2018-06-15 12:30:22 -04:00
Michael Droettboom af3a0a13e4 Move CPython tests to their own package 2018-06-15 12:21:12 -04:00
Michael Droettboom 2bc63bcaea Fix python2js test 2018-06-05 06:16:32 -04:00
Michael Droettboom 7d19fcd6bb Fix bugs found from examples 2018-06-04 20:37:40 -04:00
Michael Droettboom 0ef811c94d Fix core CPython tests 2018-05-30 13:59:09 -04:00
Michael Droettboom 9579aa99bc Working state 2018-05-30 13:49:49 -04:00
Michael Droettboom 527a2e79eb Fix jsproxy 2018-05-10 10:37:46 -04:00
Michael Droettboom 47b2d51522 Remove obsolete code 2018-05-09 15:00:38 -04:00