[asan] Run Android test with asanwrapper.

This better replicates the target environment.

llvm-svn: 210650
This commit is contained in:
Evgeniy Stepanov 2014-06-11 10:37:06 +00:00
parent b2b4c3ab32
commit 9ae3d02193
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ device_args = ' '.join(sys.argv[1:]) # FIXME: escape?
device_stdout = device_binary + '.stdout'
device_stderr = device_binary + '.stderr'
device_exitcode = device_binary + '.exitcode'
ret = adb(['shell', 'cd %s && %s %s %s >%s 2>%s ; echo $? >%s' %
ret = adb(['shell', 'cd %s && %s asanwrapper %s %s >%s 2>%s ; echo $? >%s' %
(ANDROID_TMPDIR, device_env, device_binary, device_args,
device_stdout, device_stderr, device_exitcode)])
if ret != 0: