[PATCH] D140586: update_any_test_checks.py: run from any dir
Nick Desaulniers via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 9 15:36:43 PST 2023
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGc20954dbab8b: update_any_test_checks.py: run from any dir (authored by nickdesaulniers).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140586/new/
https://reviews.llvm.org/D140586
Files:
llvm/utils/update_any_test_checks.py
Index: llvm/utils/update_any_test_checks.py
===================================================================
--- llvm/utils/update_any_test_checks.py
+++ llvm/utils/update_any_test_checks.py
@@ -48,11 +48,11 @@
parser.add_argument('tests', nargs='+')
config = parser.parse_args()
- script_name = os.path.basename(__file__)
if config.utc_dir:
utc_search_path = config.utc_dir[:]
else:
utc_search_path = []
+ script_name = os.path.abspath(__file__)
utc_search_path.append(os.path.join(os.path.dirname(script_name),
os.path.pardir))
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140586.487584.patch
Type: text/x-patch
Size: 603 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230109/8dd8b4c3/attachment.bin>
More information about the llvm-commits
mailing list