[all-commits] [llvm/llvm-project] a72331: [Driver][test] Test intended target only

jsji via All-commits all-commits at lists.llvm.org
Wed Apr 7 13:09:02 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a723310b419be870acf72aafd3bfabacbaace642
      https://github.com/llvm/llvm-project/commit/a723310b419be870acf72aafd3bfabacbaace642
  Author: Jinsong Ji <jji at us.ibm.com>
  Date:   2021-04-07 (Wed, 07 Apr 2021)

  Changed paths:
    M clang/test/Driver/nostdincxx.cpp

  Log Message:
  -----------
  [Driver][test] Test intended target only

6fe7de90b9e4e466a5c2baadafd5f72d3203651d changed GNU toolchain,
and added new RUN line to test expected behavior.

The change is for GNU toolchain only, so this will fail other toolchain,
eg: AIX.

Update the test with `-target` to test GNU tool chain only.

Reviewed By: MaskRay

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




More information about the All-commits mailing list