From 53c23134b85153a0bf6d6a39edf4bb4781a4c53e Mon Sep 17 00:00:00 2001 From: Evgeniy Stepanov Date: Thu, 7 Dec 2017 01:28:44 +0000 Subject: [sanitizer] Simplify android_run.py. A test-only change to pass all *SAN_OPTIONS to the device without listing them individually. git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@319998 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/sanitizer_common/android_commands/android_run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/sanitizer_common/android_commands/android_run.py b/test/sanitizer_common/android_commands/android_run.py index 1c4f4057f..8a97aa5f7 100755 --- a/test/sanitizer_common/android_commands/android_run.py +++ b/test/sanitizer_common/android_commands/android_run.py @@ -12,7 +12,7 @@ def build_env(): # Android linker ignores RPATH. Set LD_LIBRARY_PATH to Output dir. args.append('LD_LIBRARY_PATH=%s' % (ANDROID_TMPDIR,)) for (key, value) in os.environ.items(): - if key in ['ASAN_OPTIONS', 'ASAN_ACTIVATION_OPTIONS', 'SCUDO_OPTIONS', 'UBSAN_OPTIONS']: + if key in ['ASAN_ACTIVATION_OPTIONS', 'SCUDO_OPTIONS'] or key.endswith('SAN_OPTIONS'): args.append('%s="%s"' % (key, value)) return ' '.join(args) -- cgit v1.2.3