Commit Graph

20 Commits

Author SHA1 Message Date
JP 1eb13f2629
Message callback (#612)
* rejig loadPackage message callbacks

* adjust to keep tests working

* console log the resolve message

* test loading after failure

* appease linter
2020-02-11 19:12:15 +05:30
Michael Droettboom 37b0913563 Fix error handling 2019-01-23 00:07:39 +05:30
Madhur Tandon a704d5a04b Implement the ABI number functionality.
Modified ``Makefile`` and ``packages/Makefile`` to get ``PYODIDE_PACKAGE_ABI`` from ``Makefile.envs``
Made ``checkABI`` as a public API function.
Modified ``file_packager.py`` to check for the compatible ABI number.
Defined ABI number with which pyodide is built in Makefile.envs
Accepted ABI number in ``file_packager.py`` as an argument.
Modified ``buildpkg.py`` and ``buildall.py`` to account for the new argument.
Added the corresponding ``test_different_ABI`` test.
2019-01-23 00:07:39 +05:30
Michael Droettboom 4142ac0be0 Fix #291: Allow loading of arbitrary packages 2019-01-10 14:42:45 -05:00
Michael Droettboom 6cf40c49dd Fix #254: Continue if package loading fails 2018-11-28 12:12:38 -05:00
Roman Yurchak 227f748795 Test loading from URLs using both the main and secondary web servers 2018-09-20 13:09:01 +02:00
Roman Yurchak 73e3898b72 Load .data files from the same base URL as .js 2018-09-20 11:00:52 +02:00
Roman Yurchak f7aec29209 Add unit test to ensure that .data is loaded from the same base url as .js 2018-09-20 10:59:25 +02:00
Roman Yurchak 387fb18ceb Refactor test web server to allow multiple instances and log capture 2018-09-18 19:07:54 +02:00
Michael Droettboom 3f11d15b7a LINT 2018-09-07 15:14:28 -04:00
Michael Droettboom 7f3027b6f4 Fix tests 2018-09-07 15:07:45 -04:00
Michael Droettboom 5bb8926467 Still get error messages out (through console) 2018-09-07 14:23:17 -04:00
Michael Droettboom 1bd19e3fe4 Ensure that package loading runs in sequence 2018-09-07 14:23:17 -04:00
Roman Yurchak ed3e0c5499 TST Load multiple dependent and independent packages
Also remove the (failing) tests with simultaneous package loading
2018-09-04 17:02:50 +02:00
Roman Yurchak 82a625641b Better tests when loading multiple packages 2018-09-03 15:59:21 +02:00
Roman Yurchak 82cd3e4576 Allow array input in pyodide.loadPackage 2018-09-03 15:23:54 +02:00
Roman Yurchak 11fcaf8da6 Throw error on invalid packages 2018-08-29 11:22:43 +03:00
Roman Yurchak 5030eae5b7 Re-use built-in web server 2018-08-28 17:59:13 +03:00
Roman Yurchak ff45a550a6 Flake8 and store artefacts in CircleCI 2018-08-28 17:59:13 +03:00
Roman Yurchak 068906bbf7 Unit tests for loading packages from user defined URLs 2018-08-28 17:59:13 +03:00