Extend the tmpdir class with an option to preserve the directory if the destructor is called during stack unwinding (i.e., uncaught exception). To be used in tests where the tmpdir contains non-temporary resources that may help in diagnosing test failures (e.g., logs from external services such as PyKMIP). This will be used in the next patch. Signed-off-by: Nikos Dragazis <nikolaos.dragazis@scylladb.com>
1014 B
1014 B