[all-commits] [llvm/llvm-project] 6dc863: [clang, test, Darwin] Fix tests expecting Darwin t...

RoboTux via All-commits all-commits at lists.llvm.org
Fri Aug 7 01:21:41 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6dc863cd858f32ef0060c46edda2ab56a3cf76b4
      https://github.com/llvm/llvm-project/commit/6dc863cd858f32ef0060c46edda2ab56a3cf76b4
  Author: Thomas Preud'homme <thomasp at graphcore.ai>
  Date:   2020-08-07 (Fri, 07 Aug 2020)

  Changed paths:
    M clang/test/Driver/apple-arm64-arch.c
    M clang/test/Driver/darwin-warning-options.c

  Log Message:
  -----------
  [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




More information about the All-commits mailing list