[Openmp-commits] [PATCH] D137772: [openmp] [test] Set __COMPAT_LAYER=RunAsInvoker when running tests on Windows
Michael Kruse via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Thu Nov 17 14:31:59 PST 2022
Meinersbur added a comment.
> since it may think some of them are installers - executables with "dispatch" in the name may hit a heuristic looking for "patch"
Wow, didn't know, but other <https://stackoverflow.com/questions/24560531/list-of-uac-prompt-triggers> sources <https://learn.microsoft.com/en-us/windows/security/identity-protection/user-account-control/how-user-account-control-works> confirm it.
================
Comment at: openmp/runtime/test/lit.cfg:111-112
+if config.operating_system == 'Windows':
+ config.environment['__COMPAT_LAYER'] = 'RunAsInvoker'
+
----------------
Could you add a comment on what this does?
I did not know about this, but found https://devblogs.microsoft.com/oldnewthing/20161117-00/?p=94735
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137772/new/
https://reviews.llvm.org/D137772
More information about the Openmp-commits
mailing list