Restoring the original setting should be done more robustly by adding a hook function
to be run during tearDown() to effect the restore action instead of executing it inline
during the test method, because the test may already fail and bailout before the inline
restore action.

Fix test_set_output_path() and pass_run_args_and_env_vars() to use this mechanism.


git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@116881 91177308-0d34-0410-b5e6-96231b3b80d8
2 files changed