[compiler-rt] bdef75f - [Darwin][Sanitizer] Lower Python requirement for iOS simulator testing

Julian Lettner via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 7 17:37:35 PST 2022


Author: Julian Lettner
Date: 2022-01-07T17:37:29-08:00
New Revision: bdef75fd6127b1460640d05ab2fbb96718b04f86

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

LOG: [Darwin][Sanitizer] Lower Python requirement for iOS simulator testing

Lower Python requirements: 3.7 -> 3.6

Workaround introduced in: ebd8eee62a431a6744c3f187fcda58e5dea08499

Added: 
    

Modified: 
    compiler-rt/test/sanitizer_common/ios_commands/iossim_run.py

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/sanitizer_common/ios_commands/iossim_run.py b/compiler-rt/test/sanitizer_common/ios_commands/iossim_run.py
index 49df74e862b6c..47e7048f96e44 100755
--- a/compiler-rt/test/sanitizer_common/ios_commands/iossim_run.py
+++ b/compiler-rt/test/sanitizer_common/ios_commands/iossim_run.py
@@ -23,7 +23,7 @@
     os.environ["SIMCTL_CHILD_" + e] = os.environ[e]
 
 find_atos_cmd = 'xcrun -sdk iphonesimulator -f atos'
-atos_path = subprocess.run(find_atos_cmd.split(), capture_output=True, check=True).stdout.decode().strip()
+atos_path = subprocess.run(find_atos_cmd.split(), stdout=subprocess.PIPE, stderr=subprocess.PIPE, check=True).stdout.decode().strip()
 for san in ['ASAN', 'TSAN', 'UBSAN', 'LSAN']:
   os.environ[f'SIMCTL_CHILD_{san}_SYMBOLIZER_PATH'] = atos_path
 


        


More information about the llvm-commits mailing list