[PATCH] D115814: [Debuginfod] Remove f-string from llvm-debuginfod-find lit test.

Noah Shutty via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 15 11:30:44 PST 2021


noajshu created this revision.
noajshu added a reviewer: uabelho.
noajshu requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

A python3 f-String was left in the llvm-debuginfod-find lit test script. This seems to cause some issues, so this patch removes the f-string to maximize compatibility with different python versions.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D115814

Files:
  llvm/test/tools/llvm-debuginfod-find/debuginfod.test


Index: llvm/test/tools/llvm-debuginfod-find/debuginfod.test
===================================================================
--- llvm/test/tools/llvm-debuginfod-find/debuginfod.test
+++ llvm/test/tools/llvm-debuginfod-find/debuginfod.test
@@ -52,7 +52,7 @@
     try:
         thread.start()
         env = os.environ
-        env['DEBUGINFOD_URLS'] = f'http://localhost:%s' % port
+        env['DEBUGINFOD_URLS'] = 'http://localhost:%s' % port
         process = subprocess.Popen(
             tool_args, env=env)
         code = process.wait()


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115814.394619.patch
Type: text/x-patch
Size: 548 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211215/914cb4d3/attachment.bin>


More information about the llvm-commits mailing list