[asan] Allow propagating env variables when testing on iOS Simulator
authorKuba Mracek <mracek@apple.com>
Wed, 26 Apr 2017 20:38:24 +0000 (20:38 +0000)
committerKuba Mracek <mracek@apple.com>
Wed, 26 Apr 2017 20:38:24 +0000 (20:38 +0000)
commit74233bed59a47cd9cf52adb0a22c4dcee38dc5fb
tree78ad80f9f2f0c36c932ec272132480e0fef4a6ff
parent5652d5eb097490ee96c79a9e0b952736c8e49f91
[asan] Allow propagating env variables when testing on iOS Simulator

This patch adds "%env" as a way to express that the environment variable should be set on the target device/simulator. This fixes some test failures when testing on iOS/Simulator.

Differential Revision: https://reviews.llvm.org/D32556

llvm-svn: 301462
compiler-rt/test/asan/TestCases/Darwin/scribble.cc
compiler-rt/test/lit.common.cfg