[compiler-rt] r210650 - [asan] Run Android test with asanwrapper.

Evgeniy Stepanov eugeni.stepanov at gmail.com
Wed Jun 11 03:37:06 PDT 2014


Author: eugenis
Date: Wed Jun 11 05:37:06 2014
New Revision: 210650

URL: http://llvm.org/viewvc/llvm-project?rev=210650&view=rev
Log:
[asan] Run Android test with asanwrapper.

This better replicates the target environment.

Modified:
    compiler-rt/trunk/test/asan/android_commands/android_run.py

Modified: compiler-rt/trunk/test/asan/android_commands/android_run.py
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/asan/android_commands/android_run.py?rev=210650&r1=210649&r2=210650&view=diff
==============================================================================
--- compiler-rt/trunk/test/asan/android_commands/android_run.py (original)
+++ compiler-rt/trunk/test/asan/android_commands/android_run.py Wed Jun 11 05:37:06 2014
@@ -23,7 +23,7 @@ device_args = ' '.join(sys.argv[1:]) # F
 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:





More information about the llvm-commits mailing list