HomePhabricator

[clang, test, Darwin] Fix tests expecting Darwin target

Authored by thopre on Aug 5 2020, 3:03 PM.

Description

[clang, test, Darwin] Fix tests expecting Darwin target

Clang tests Driver/apple-arm64-arch.c and
Driver/darwin-warning-options.c test Darwin driver functionality but
only require the host system to be Darwin. This leads the tests to fail
when building a cross-compiler on Darwin and to be marked unsupported
when cross-compiling to Darwin from another system. This commit changes
the requirements for those tests to require the target to be Darwin.

Reviewed By: steven_wu

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

Details

Committed
thopreAug 7 2020, 1:21 AM
Reviewer
steven_wu
Differential Revision
D85367: [clang, test, Darwin] Fix tests expecting Darwin target
Parents
rGf3cc4df51da4: Revert "[CMake] Simplify CMake handling for zlib"
Branches
Unknown
Tags
Unknown