Commit Graph

18 Commits

Author SHA1 Message Date
Windel Bouwman
310f89ec21 Remove bytecode compilation. Add feature to enable verbose logging in vm. 2019-07-07 15:23:43 +02:00
jgirardet
c487f12222 Merge branch 'master' into seq 2019-04-08 09:36:37 +02:00
Jimmy Girardet
0e264426c9 fix import 2019-04-08 09:12:22 +02:00
jgirardet
d96a5b11f7 add resources to snippets 2019-04-04 21:32:04 +02:00
ben
0bd08618af Change _py_abc to workaround current issue, and run test with PYTHONPATH
linking to Lib directory.
2019-04-04 20:11:53 +13:00
Adrian Wielgosik
16e04cf298 Run rustpython tests without cargo middleman 2019-03-25 17:54:04 +01:00
Adrian Wielgosik
4ab59a8e4c Do not run benchmarks in the main test suite 2019-03-25 17:53:13 +01:00
Adrian Wielgosik
e44b02b88f Avoid trace log in tests 2019-03-25 17:52:37 +01:00
Calixte Denizet
e86e108e67 Don't run tests in --release with code coverage 2019-02-16 18:19:52 +01:00
Daniel Watkins
a457153ce1 Consider imports relative to their source
Currently they are considered relative to the current working directory
of the interpreter, which is incorrect.

Fixes #83.
2018-08-25 19:45:19 -04:00
Daniel Watkins
da34b86a9c Implement PYTHONPATH
This modifies the import logic to use sys.path, and uses PYTHONPATH to
generate the initial contents of sys.path.
2018-08-24 22:55:30 -04:00
Daniel Watkins
c9738a0cd1 Ensure snippet tests can import other snippets 2018-08-09 17:14:08 -04:00
Daniel Watkins
c857d75748 Restore running of benchmarks in test_snippets.py
This distinguishes them from regular snippet tests, and runs them
without trace logging (which was causing major slowdowns previously).
2018-08-04 12:51:12 -04:00
Daniel Watkins
402ca31423 Suppress cargo/jobserver log messages in snippet testing
They make the output unmanageably large, and don't provide any useful
information for debugging.
2018-08-04 12:51:12 -04:00
Windel Bouwman
03bda855e7 Clean test code 2018-07-31 22:11:40 +02:00
Windel Bouwman
bbc19305f8 Reduce dependencies of vm and parser crates 2018-07-18 10:22:00 +02:00
Windel Bouwman
e47e5f3d05 Add else statement 2018-07-15 16:54:29 +02:00
Windel Bouwman
2354102795 Add interactive shell 2018-07-09 22:06:49 +02:00