Ticket #4564 enhancement closed fixed
Factor _trial_temp directory creation and cleanup so as to be re-usable by multiple runner implementations
| Reported by: | exarkun | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | trial | Keywords: | |
| Cc: | Branch: | branches/trial-temp-reusage-4564 | |
| Author: | exarkun | Launchpad Bug: |
Description
TrialRunner has various logic for selecting a _trial_temp[-N] directory, cleaning up what was there before, creating a new one, and changing the current working directory to be it.
This is probably generally useful to runner implementations. As it happens, #1784 (disttrial) introduces a new runner implementation which benefits from being able to use this code.
Change History
Note: See
TracTickets for help on using
tickets.
