[debuginfo-tests] e8b9da7 - [debuginfo-tests] Delete unused/duplicate imports

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 15 06:32:15 PST 2021


Author: James Henderson
Date: 2021-02-15T14:32:03Z
New Revision: e8b9da712f579cbd18f5b993e984c18c501f4802

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

LOG: [debuginfo-tests] Delete unused/duplicate imports

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

Reviewed by: aprantl

Added: 
    

Modified: 
    debuginfo-tests/lit.cfg.py

Removed: 
    


################################################################################
diff  --git a/debuginfo-tests/lit.cfg.py b/debuginfo-tests/lit.cfg.py
index da6cb9b63c01..1657f63c468d 100644
--- a/debuginfo-tests/lit.cfg.py
+++ b/debuginfo-tests/lit.cfg.py
@@ -5,14 +5,12 @@
 import re
 import subprocess
 import sys
-import tempfile
 
 import lit.formats
 import lit.util
 
 from lit.llvm import llvm_config
 from lit.llvm.subst import ToolSubst
-from lit.llvm.subst import FindTool
 
 # Configuration file for the 'lit' test runner.
 
@@ -149,7 +147,6 @@ def get_required_attr(config, attr_name):
 
 # available_features: REQUIRES/UNSUPPORTED lit commands look at this list.
 if platform.system() == 'Darwin':
-    import subprocess
     xcode_lldb_vers = subprocess.check_output(['xcrun', 'lldb', '--version']).decode("utf-8")
     match = re.search('lldb-(\d+)', xcode_lldb_vers)
     if match:


        


More information about the llvm-commits mailing list