[llvm] f42baaa - Remove an apparently unneeded normcase() call.

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 15 11:02:55 PDT 2020


Author: Nico Weber
Date: 2020-04-15T14:02:48-04:00
New Revision: f42baaab4f86d5259717bd26f713c002fd225669

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

LOG: Remove an apparently unneeded normcase() call.

I believe this call is unneeded after https://reviews.llvm.org/D34855.

Reviewed as part of https://reviews.llvm.org/D78169

Added: 
    

Modified: 
    llvm/utils/lit/lit/formats/googletest.py

Removed: 
    


################################################################################
diff  --git a/llvm/utils/lit/lit/formats/googletest.py b/llvm/utils/lit/lit/formats/googletest.py
index 6696fabc4f5e..777568b24465 100644
--- a/llvm/utils/lit/lit/formats/googletest.py
+++ b/llvm/utils/lit/lit/formats/googletest.py
@@ -12,7 +12,7 @@
 
 class GoogleTest(TestFormat):
     def __init__(self, test_sub_dirs, test_suffix):
-        self.test_sub_dirs = os.path.normcase(str(test_sub_dirs)).split(';')
+        self.test_sub_dirs = str(test_sub_dirs).split(';')
 
         # On Windows, assume tests will also end in '.exe'.
         exe_suffix = str(test_suffix)


        


More information about the llvm-commits mailing list