Fix Driver/darwin-version.c test

A target argument should be provided to avoid failures on non-Darwin

llvm-svn: 320238
This commit is contained in:
Alex Lorenz 2017-12-09 02:56:48 +00:00
parent f94d87aadf
commit 25e93db6b5
1 changed files with 1 additions and 1 deletions

View File

@ -141,6 +141,6 @@
// CHECK-VERSION-WATCHOS-TARGET: "x86_64-apple-watchos4.0.0-simulator"
// RUN: env MACOSX_DEPLOYMENT_TARGET=1000.1000 \
// RUN: %clang -c %s -### 2>&1 | \
// RUN: %clang -target x86_64-apple-darwin -c %s -### 2>&1 | \
// RUN: FileCheck --check-prefix=CHECK-VERSION-INVALID-ENV %s
// CHECK-VERSION-INVALID-ENV: invalid version number in 'MACOSX_DEPLOYMENT_TARGET=1000.1000'