Commit Graph

165 Commits

Author SHA1 Message Date
Roman Yurchak a954de100e
Merge pull request #231 from rth/skip-c-extension-build-target
Fix Skip building C extensions for the target env
2018-10-29 18:24:53 +01:00
Roman Yurchak d9b590f518 Define build/skip_host meta.yaml option 2018-10-29 12:52:13 +01:00
Roman Yurchak 2bdba761e3 More fixes for f2c 2018-10-26 17:57:59 +02:00
Michael Droettboom 343849538c
Merge pull request #199 from rth/disable-syscalls
Disable unsupported/untested syscalls in pyconfig.h
2018-10-26 09:12:30 -04:00
Michael Droettboom 9312bd1ee6
Merge pull request #212 from rth/package-joblib
Package joblib
2018-10-26 09:11:32 -04:00
Michael Droettboom db4e1d02c3
Merge pull request #224 from rth/pywasmcross-tests
Add python tests for handle_command in pywasmcross.py
2018-10-26 09:09:22 -04:00
Roman Yurchak 902e7463ae Skip joblib pickling on chrome 2018-10-23 12:19:40 +02:00
Roman Yurchak 53cd70c35c Package joblib 2018-10-23 12:19:40 +02:00
Roman Yurchak bb53e36a78 Rename to dryrun, add docstring and doctest 2018-10-23 12:13:59 +02:00
Roman Yurchak 33a094ee33 TST Actually fail if a package cannot be imported 2018-10-22 12:53:42 +02:00
Roman Yurchak 4abdff5187 Add test_pywasmcross.py 2018-10-16 15:41:01 +02:00
Roman Yurchak 436192569e Check find_imports('import matplotlib.pyplot as plt') 2018-10-15 21:08:43 +02:00
Roman Yurchak 00db2a4be1 Ability to run pure python tests 2018-10-15 17:29:06 +02:00
Roman Yurchak e24c610a89
Merge pull request #217 from mdboom/runpython-async
Add a package-loading version of runPython
2018-10-11 10:50:28 +02:00
Michael Droettboom 6aa6c94644 LINT 2018-10-10 14:38:58 -04:00
Michael Droettboom 4124f18d1a Fix package name / import name dichotomy. Add testing. 2018-10-10 14:17:29 -04:00
Michael Droettboom 01256b5832
Merge pull request #215 from mdboom/fix-hiwire-iterator
Fix iterators passed from Javascript to Python
2018-10-08 20:51:11 -04:00
Michael Droettboom c504180fc4
Merge pull request #209 from rth/benchmark-impr
A few impovements to benchmarks
2018-10-08 13:17:43 -04:00
Michael Droettboom 911fe83226 Fix iterators passed from Javascript to Python 2018-10-08 11:15:53 -04:00
Roman Yurchak df21231810 Monkeypatch selenium with a fix against ConnectionError 2018-10-04 14:30:35 +02:00
Roman Yurchak c9b39e08fc Add pytest --run-xfail run option 2018-10-03 22:00:45 +02:00
Roman Yurchak 5728cfdeed Mark test_rlcompleter as xfail (again) 2018-10-03 16:28:00 +02:00
Roman Yurchak 456fe6162f test_io segfaults but without producing any messages 2018-10-03 15:18:29 +02:00
Roman Yurchak 436eba4b5f undef HAVE_SYS_IOCTL_H 2018-10-03 15:18:29 +02:00
Roman Yurchak 2fd3d2ec3f Skip test_asyncore 2018-10-03 15:18:29 +02:00
Roman Yurchak 3b302d7ced Update passing tests 2018-10-03 15:18:29 +02:00
Roman Yurchak 641f3e7b1a Skip tests that segfault, run the rest 2018-10-03 15:18:29 +02:00
Roman Yurchak 93c4de6e7c Fix conftest.py for benchmarks 2018-10-03 14:38:27 +02:00
Michael Droettboom cb1d7da166 Correctly handle negative values 2018-10-03 08:15:00 -04:00
Michael Droettboom e0b37f4bf8 Convert long Python ints to Javascript floats 2018-10-02 16:06:44 -04:00
Roman Yurchak ef0a74a4a3 Fix missing build_dir parameter 2018-10-02 16:06:56 +02:00
Roman Yurchak c5c87b41b7 Allow testing packages under a different build path 2018-10-02 15:10:18 +02:00
Michael Droettboom 94e935b4c8
Merge pull request #107 from rth/pyodide-package
Refactoring common functions under pyodide_build
2018-09-27 12:32:43 -04:00
Roman Yurchak f58028e87b
Merge pull request #193 from mdboom/test-array-iter
Add test for iterating over a JS array
2018-09-27 11:02:25 +02:00
Michael Droettboom a164cd1946 ADd test for iterating over a JS array 2018-09-26 18:03:09 -04:00
Roman Yurchak 183cef70f8
Merge pull request #187 from mdboom/hardcode-pyconfig-h
Add a hard-coded pyconfig.h
2018-09-26 15:13:12 +02:00
Michael Droettboom f4280c25b0 Add a hard-coded pyconfig.h 2018-09-21 17:02:00 -04:00
Michael Droettboom 87f0930d4e MAINT: Remove old if statement that's always True 2018-09-21 14:23:31 -04:00
Roman Yurchak 3ee42aa779 Use pyodide_build in tests 2018-09-20 19:37:32 +02:00
Michael Droettboom 065c572a8d
Merge pull request #178 from rth/fix-custom-url-data-v2
Fix load .data files from the same base URL as .js
2018-09-20 08:34:21 -04: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 6de43c9e19 Update Module.locateFile inside _loadPackage 2018-09-20 12:57:00 +02:00
Roman Yurchak a711d059d5 Simplify traceback on package load timeout 2018-09-20 12:51:11 +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
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 16b15968ec
Merge pull request #171 from rth/fix-custom-url-data
MAINT Refactor test web server to allow multiple instances and log capture
2018-09-18 15:59:51 -04: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 cc47fc5fa6 Run tests standalone 2018-09-17 15:35:54 -04:00