[Openmp-commits] [PATCH] D149356: Revert "[openmp] [test] Set __COMPAT_LAYER=RunAsInvoker when running tests on Windows"

Martin Storsjö via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Tue May 2 23:32:44 PDT 2023


This revision was automatically updated to reflect the committed changes.
Closed by commit rG1bd3fba8f7f8: Revert "[openmp] [test] Set __COMPAT_LAYER=RunAsInvoker when running tests on… (authored by mstorsjo).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D149356/new/

https://reviews.llvm.org/D149356

Files:
  openmp/runtime/test/lit.cfg


Index: openmp/runtime/test/lit.cfg
===================================================================
--- openmp/runtime/test/lit.cfg
+++ openmp/runtime/test/lit.cfg
@@ -120,14 +120,6 @@
   if target_arch in ['x86_64', 'i386']:
     config.available_features.add('x86-target-arch')
 
-# Avoid Windows heuristics which try to detect potential installer programs
-# (which may need to run with elevated privileges) and ask if the user wants
-# to run them in that way. This heuristic may match for executables containing
-# the word "patch" which is a substring of "dispatch". Set an environment
-# variable indicating that we want to execute them with the current user.
-if config.operating_system == 'Windows':
-    config.environment['__COMPAT_LAYER'] = 'RunAsInvoker'
-
 import multiprocessing
 try:
     if multiprocessing.cpu_count() > 1:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D149356.518981.patch
Type: text/x-patch
Size: 844 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20230503/ef2b1179/attachment.bin>


More information about the Openmp-commits mailing list