[PATCH] D54636: [lit] Add test directory to sys.path before invoking it.
Stella Stamenova via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 16 10:27:11 PST 2018
stella.stamenova added inline comments.
================
Comment at: llvm/utils/lit/lit/TestingConfig.py:109
path, traceback.format_exc()))
-
+ finally:
+ sys.path = original_sys_path
----------------
Won't this always reset the path back to the original path since the finally block always executes?
https://reviews.llvm.org/D54636
More information about the llvm-commits
mailing list