From 9ae3d02193e9c1702b7ba0491f8730e1d806f8a0 Mon Sep 17 00:00:00 2001 From: Evgeniy Stepanov Date: Wed, 11 Jun 2014 10:37:06 +0000 Subject: [PATCH] [asan] Run Android test with asanwrapper. This better replicates the target environment. llvm-svn: 210650 --- compiler-rt/test/asan/android_commands/android_run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler-rt/test/asan/android_commands/android_run.py b/compiler-rt/test/asan/android_commands/android_run.py index a6ceeb427070..7f8c612a0cf0 100755 --- a/compiler-rt/test/asan/android_commands/android_run.py +++ b/compiler-rt/test/asan/android_commands/android_run.py @@ -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: