[llvm] 35ccde2 - [Debuginfod] Remove f-string from llvm-debuginfod-find lit test.

Noah Shutty via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 16 11:22:30 PST 2021


Author: Noah Shutty
Date: 2021-12-16T19:22:13Z
New Revision: 35ccde20ea992b793bcb1ffa21b89770892c906d

URL: https://github.com/llvm/llvm-project/commit/35ccde20ea992b793bcb1ffa21b89770892c906d
DIFF: https://github.com/llvm/llvm-project/commit/35ccde20ea992b793bcb1ffa21b89770892c906d.diff

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

This removes a python3 f-String from the llvm-debuginfod-find lit test script to maximize compatibility with different python versions, as it seemed to cause some issues.

Reviewed By: phosek

Differential Revision: https://reviews.llvm.org/D115814

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/llvm-debuginfod-find/debuginfod.test b/llvm/test/tools/llvm-debuginfod-find/debuginfod.test
index 020a93255c3fd..e38913b78351b 100644
--- a/llvm/test/tools/llvm-debuginfod-find/debuginfod.test
+++ b/llvm/test/tools/llvm-debuginfod-find/debuginfod.test
@@ -52,7 +52,7 @@ def test_tool(server_path, tool_args):
     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()


        


More information about the llvm-commits mailing list