Commit Graph

9 Commits

Author SHA1 Message Date
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