forked from OSchip/llvm-project
[asan] Run Android test with asanwrapper.
This better replicates the target environment. llvm-svn: 210650
This commit is contained in:
parent
b2b4c3ab32
commit
9ae3d02193
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue