[llvm] 7af5fc1 - Revert "[Utils] Fix %S substitution"

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 21 06:25:12 PDT 2022


Author: Nikita Popov
Date: 2022-03-21T14:25:02+01:00
New Revision: 7af5fc1372fe3837547245a5c34d52534952c419

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

LOG: Revert "[Utils] Fix %S substitution"

This reverts commit 8ee1ef2a087da1a101a6b2c0bea31788da289e0b.

This breaks an update_cc_test_checks test that is based on an
incorrect %S use, revert until I can fix it.

Added: 
    

Modified: 
    llvm/utils/update_cc_test_checks.py

Removed: 
    


################################################################################
diff  --git a/llvm/utils/update_cc_test_checks.py b/llvm/utils/update_cc_test_checks.py
index d4fd0935bb779..1299efd46a772 100755
--- a/llvm/utils/update_cc_test_checks.py
+++ b/llvm/utils/update_cc_test_checks.py
@@ -241,7 +241,7 @@ def main():
     subs = {
       '%s' : ti.path,
       '%t' : tempfile.NamedTemporaryFile().name,
-      '%S' : os.path.dirname(ti.path),
+      '%S' : os.getcwd(),
     }
 
     for l in ti.run_lines:


        


More information about the llvm-commits mailing list