summaryrefslogtreecommitdiff
path: root/test/Driver/analyze.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/Driver/analyze.c')
-rw-r--r--test/Driver/analyze.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/Driver/analyze.c b/test/Driver/analyze.c
index 338c6148c1c37..5ca890f9ab48b 100644
--- a/test/Driver/analyze.c
+++ b/test/Driver/analyze.c
@@ -1,9 +1,9 @@
// Verify that the analyzer gets the same flags as normal compilation
// (at least for a few key ones).
-// RUN: clang -ccc-host-triple i386-apple-darwin9 -### --analyze -o /dev/null %s -msse 2> %t.log &&
+// RUN: env MACOSX_DEPLOYMENT_TARGET=10.5 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