[llvm] [llvm] Add support for running tests as root (PR #75285)

Tom Stellard via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 4 00:44:16 PST 2024


tstellar wrote:

> That sounds fine to me. I think using os.getuid instead of getpass is still possible since it's already wrapped inside a bare try-except so that should be safe and avoids an extra import?

I tested this and it works, so I've updated the patch to use os.getuid now.


https://github.com/llvm/llvm-project/pull/75285


More information about the llvm-commits mailing list