[Openmp-commits] [openmp] 1bd3fba - Revert "[openmp] [test] Set __COMPAT_LAYER=RunAsInvoker when running tests on Windows"

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


Author: Martin Storsjö
Date: 2023-05-03T09:30:54+03:00
New Revision: 1bd3fba8f7f89cbdd54fafa86c46a6ef2a8f7d11

URL: https://github.com/llvm/llvm-project/commit/1bd3fba8f7f89cbdd54fafa86c46a6ef2a8f7d11
DIFF: https://github.com/llvm/llvm-project/commit/1bd3fba8f7f89cbdd54fafa86c46a6ef2a8f7d11.diff

LOG: Revert "[openmp] [test] Set __COMPAT_LAYER=RunAsInvoker when running tests on Windows"

This reverts commit 63f0fdc2628dfb2f52ed5a92e579f99261d946ed.

Since f1431bbfb17cd7167adda9fc8521bb6eec52c300, this environment
variable is always set up by lit itself, so individual test suites
don't need to set it.

Differential Revision: https://reviews.llvm.org/D149356

Added: 
    

Modified: 
    openmp/runtime/test/lit.cfg

Removed: 
    


################################################################################
diff  --git a/openmp/runtime/test/lit.cfg b/openmp/runtime/test/lit.cfg
index d008844a0cc57..b1a5b7a351098 100644
--- a/openmp/runtime/test/lit.cfg
+++ b/openmp/runtime/test/lit.cfg
@@ -120,14 +120,6 @@ if target_arch:
   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:


        


More information about the Openmp-commits mailing list