Commit Graph

51 Commits

Author SHA1 Message Date
Michael Droettboom 04603d53c2
Merge pull request #211 from rth/scipy
Scipy packaging
2018-12-03 10:33:45 -05:00
Madhur Tandon ff21689cea Fix Chrome Tests failing inside Docker 2018-11-26 22:14:00 +05:30
Roman Yurchak defc24c442 Lint 2018-11-15 13:24:27 +01:00
Roman Yurchak 56e8a1767a Increase FuncCastEmulation NUM_PARAMS further 2018-11-15 13:22:36 +01:00
Roman Yurchak 27319bc675 Fix build in Docker 2018-11-15 13:22:36 +01: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 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 c504180fc4
Merge pull request #209 from rth/benchmark-impr
A few impovements to benchmarks
2018-10-08 13:17:43 -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 93c4de6e7c Fix conftest.py for benchmarks 2018-10-03 14:38:27 +02: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 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 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 387fb18ceb Refactor test web server to allow multiple instances and log capture 2018-09-18 19:07:54 +02:00
Roman Yurchak 02ce5a4a9e
Merge pull request #155 from mdboom/allow-memory-growth
Set ALLOW_MEMORY_GROWTH=1
2018-09-13 18:01:55 +02:00
Michael Droettboom 65817abc7d Add test 2018-09-12 10:16:23 -04:00
Michael Droettboom 3b6855b0b4 Update {chrome,firefox}_options to options
Selenium is saying:

/home/circleci/repo/pyodide-env/lib/python3.7/site-packages/selenium/webdriver/chrome/webdriver.py:50: DeprecationWarning: use options instead of chrome_options
  warnings.warn('use options instead of chrome_options', DeprecationWarning)
2018-09-10 15:08:14 -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 d869ac5bfc Use multi-line code snippets in tests 2018-09-07 14:35:00 +02:00
Roman Yurchak 11fcaf8da6 Throw error on invalid packages 2018-08-29 11:22:43 +03:00
Roman Yurchak c9d5ba3c8e Better logs when PyodideInited() or PackageLoaded() fails on Chrome 2018-08-28 18:24:48 +03:00
Roman Yurchak 5030eae5b7 Re-use built-in web server 2018-08-28 17:59:13 +03:00
Roman Yurchak 4f665e0a3a Validate package URI 2018-08-28 17:58:56 +03:00
Roman Yurchak f50275335d Checking valid package name / url 2018-08-28 17:58:56 +03:00
Roman Yurchak bfd0e58631 Address review comments 2018-08-28 16:20:35 +03:00
Roman Yurchak 153c6324b9 Copy test data in a pytest fixture 2018-08-28 14:42:14 +03:00
Roman Yurchak 16ff5aaeef Add browser attribute in selenium fixture 2018-08-21 11:09:34 +03:00
Roman Yurchak ce15a29157 Fix matplotlib tests 2018-08-20 20:10:32 +03:00
Roman Yurchak 9245f6f246 More generic selenium fixture caching mechanism 2018-08-20 20:02:12 +03:00
Roman Yurchak 6b51f3a21e Cache selenium fixture at the module level 2018-08-20 18:50:25 +03: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 075ffca0e2 Handle catching Javascript exceptions in a unified way 2018-07-09 20:59:03 -04:00
Michael Droettboom 670473f29b Fix webserver 2018-07-09 17:15:04 -04:00
Michael Droettboom 66cb9445d5 Add testing with Chrome 2018-07-09 15:09:49 -04:00
Michael Droettboom d58f6b1f6e Fix loadPackage in tests 2018-06-21 10:14:25 -04:00
Michael Droettboom b8b9519575 More work trying to get linting working again 2018-06-15 12:30:22 -04:00
Michael Droettboom 9579aa99bc Working state 2018-05-30 13:49:49 -04:00
Michael Droettboom 035cf3cc65 Remove debugging print 2018-05-29 10:33:56 -04:00
Michael Droettboom 21e9a4c770 Get full output on test failure 2018-05-11 10:52:49 -04:00
Michael Droettboom f88ec06642 Fix tests for new modular packaging 2018-05-04 13:09:32 -04:00
Michael Droettboom 83cfefb26d Carefully shutdown selenium driver if a test fails 2018-04-20 09:52:54 -04:00
Michael Droettboom d0973c9fd5 Adding benchmarks 2018-04-06 19:22:24 -04:00
Michael Droettboom 093a0225e1 Kill selenium task after each test 2018-04-03 19:17:30 -04:00
Michael Droettboom b8c3e600c2 Add end-to-end build. Travis tests. 2018-03-30 13:08:06 -04:00