[compiler-rt] 073e7f2 - [compiler-rt] [test] Don't override config.unsupported in TestCases/Windows

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 19 09:23:43 PDT 2023


Author: Martin Storsjö
Date: 2023-04-19T19:22:23+03:00
New Revision: 073e7f25f35924895394408f14380d8895a7d974

URL: https://github.com/llvm/llvm-project/commit/073e7f25f35924895394408f14380d8895a7d974
DIFF: https://github.com/llvm/llvm-project/commit/073e7f25f35924895394408f14380d8895a7d974.diff

LOG: [compiler-rt] [test] Don't override config.unsupported in TestCases/Windows

This is a leftover from when these tests were added in
2bdca2006941a3a7de8e16ea9af9a758b367ee32 in 2014 (when the toplevel
asan/lit.cfg set "config.unsupported = True" on Windows). When the
common tests were included on Windows in
89d994367a597134fa7e1724314044e217718165 in 2015, that commit should
have removed the now unnecessary "config.unsupported = False" line here.

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

Added: 
    

Modified: 
    compiler-rt/test/asan/TestCases/Windows/lit.local.cfg.py

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/asan/TestCases/Windows/lit.local.cfg.py b/compiler-rt/test/asan/TestCases/Windows/lit.local.cfg.py
index 13ef6d4282516..e924d91c44934 100644
--- a/compiler-rt/test/asan/TestCases/Windows/lit.local.cfg.py
+++ b/compiler-rt/test/asan/TestCases/Windows/lit.local.cfg.py
@@ -5,10 +5,5 @@ def getRoot(config):
 
 root = getRoot(config)
 
-# We only run a small set of tests on Windows for now.
-# Override the parent directory's "unsupported" decision until we can handle
-# all of its tests.
-if root.host_os in ['Windows']:
-  config.unsupported = False
-else:
+if root.host_os not in ['Windows']:
   config.unsupported = True


        


More information about the llvm-commits mailing list