Revert "[Utils] Fix %S substitution"
authorNikita Popov <npopov@redhat.com>
Mon, 21 Mar 2022 13:24:27 +0000 (14:24 +0100)
committerNikita Popov <npopov@redhat.com>
Mon, 21 Mar 2022 13:25:02 +0000 (14:25 +0100)
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.

llvm/utils/update_cc_test_checks.py

index d4fd093..1299efd 100755 (executable)
@@ -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: