[compiler-rt] bcdd435 - [sanitizer] Escape quotes in tests to fix android bot after D88361
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 13 18:09:50 PDT 2020
Author: Vitaly Buka
Date: 2020-10-13T18:09:38-07:00
New Revision: bcdd4359e1cd1909f75fd3689db685840b751911
URL: https://github.com/llvm/llvm-project/commit/bcdd4359e1cd1909f75fd3689db685840b751911
DIFF: https://github.com/llvm/llvm-project/commit/bcdd4359e1cd1909f75fd3689db685840b751911.diff
LOG: [sanitizer] Escape quotes in tests to fix android bot after D88361
Added:
Modified:
compiler-rt/test/sanitizer_common/android_commands/android_run.py
Removed:
################################################################################
diff --git a/compiler-rt/test/sanitizer_common/android_commands/android_run.py b/compiler-rt/test/sanitizer_common/android_commands/android_run.py
index 41a587cb404c..8f2e40152de7 100755
--- a/compiler-rt/test/sanitizer_common/android_commands/android_run.py
+++ b/compiler-rt/test/sanitizer_common/android_commands/android_run.py
@@ -13,7 +13,7 @@ def build_env():
args.append('LD_LIBRARY_PATH=%s' % (ANDROID_TMPDIR,))
for (key, value) in os.environ.items():
if key in ['ASAN_ACTIVATION_OPTIONS', 'SCUDO_OPTIONS'] or key.endswith('SAN_OPTIONS'):
- args.append('%s="%s"' % (key, value))
+ args.append('%s="%s"' % (key, value.replace('"', '\\"')))
return ' '.join(args)
is_64bit = (subprocess.check_output(['file', sys.argv[0] + '.real']).find('64-bit') != -1)
More information about the llvm-commits
mailing list