[Utils] Fix %S substitution
authorNikita Popov <npopov@redhat.com>
Mon, 21 Mar 2022 12:20:32 +0000 (13:20 +0100)
committerNikita Popov <npopov@redhat.com>
Mon, 21 Mar 2022 12:22:34 +0000 (13:22 +0100)
commit8ee1ef2a087da1a101a6b2c0bea31788da289e0b
treeb641eeb889682bbf168bfc871fab767af34611d9
parent215b5ce628c2abe75c3ff6672e9cf8a9c7bd6092
[Utils] Fix %S substitution

%S refers to the directory of %s, not to the cwd. This is mostly
handled correctly, but update_cc_test_checks.py used for the wrong
path for non-FileCheck RUN lines.
llvm/utils/update_cc_test_checks.py