Make test/Driver/darwin-sdk-version.c pass on hosts < macOS10.14
authorAlex Lorenz <arphaman@gmail.com>
Mon, 17 Dec 2018 21:01:04 +0000 (21:01 +0000)
committerAlex Lorenz <arphaman@gmail.com>
Mon, 17 Dec 2018 21:01:04 +0000 (21:01 +0000)
commit38cda981a28db61ca1c9c262d7c1bfb2205099c9
tree37d09d778c06ab27e664efacf331b21c3ebbd066
parent34144f5ec013eab51262847e3b3f3a528e71cf24
Make test/Driver/darwin-sdk-version.c pass on hosts < macOS10.14

The test test/Driver/darwin-sdk-version.c from r349380 checks if the macOS
deployment target can be correctly inferred from the SDK version. When the
SDK version is > host version, the driver will pick the host version, so
the old test failed on macOS < 10.14. This commit makes this test more
resilient by using an older SDK version.

llvm-svn: 349393
clang/test/Driver/darwin-sdk-version.c