Make these driver tests do the right thing even when MACOSX_DEPLOYMENT_TARGET is set.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@73583 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/Driver/analyze.c b/test/Driver/analyze.c
index 338c614..51f7f0c 100644
--- a/test/Driver/analyze.c
+++ b/test/Driver/analyze.c
@@ -1,9 +1,10 @@
 // Verify that the analyzer gets the same flags as normal compilation
 // (at least for a few key ones).
 
+// RUN: env MACOSX_DEPLOYMENT_TARGET=10.5 &&
 // RUN: clang -ccc-host-triple i386-apple-darwin9  -### --analyze -o /dev/null %s -msse 2> %t.log &&
 // RUN: grep '"-analyze"' %t.log &&
 // RUN: grep '"--fmath-errno=0"' %t.log &&
 // RUN: grep '"-target-feature" "+sse"' %t.log &&
-// RUN: grep '"-mmacosx-version-min=10.5.0"' %t.log
+// RUN: grep '"-mmacosx-version-min=10.5"' %t.log