macobo / python-grader

Python >= 3.3 automatic grader
MIT License
11 stars 5 forks source link

multiprocessing - allows to catch tests that are running too long. #11

Closed macobo closed 11 years ago

macobo commented 11 years ago

Re: Looping #3

It could be made to run different tests in parallel, but this might mess with tests that read or modify files or other assets, so that will be the topic of another issue.

Since the internal code running system got a little bit more complicated, to quickly point out where the issue is

Difference made from #4 is that we don't need the confusing configure/reset cycle (at the overhead of an single subprocess). If we could detect where a test is from, even this overhead could be removed.