[all-commits] [llvm/llvm-project] 5de4d9: Driver tests: remove `REQUIRES: x86-registered-tar...

MaggieYingYi via All-commits all-commits at lists.llvm.org
Mon Sep 5 02:01:08 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5de4d97a00b2a5d710892e96d77810784fd2cd5c
      https://github.com/llvm/llvm-project/commit/5de4d97a00b2a5d710892e96d77810784fd2cd5c
  Author: Ying Yi <maggieyi666 at gmail.com>
  Date:   2022-09-05 (Mon, 05 Sep 2022)

  Changed paths:
    M clang/test/Driver/ps4-ps5-header-search.c

  Log Message:
  -----------
  Driver tests: remove `REQUIRES: x86-registered-target` and set `--sysroot=""` to support clang with `DEFAULT_SYSROOT`.

When testing clang that has been compiled with -DDEFAULT_SYSROOT set to some path, ps4-ps5-header-search.c would fail.

The test needs to be updated.

    1. Remove unnecessary REQUIRES: x86-registered-target.
    2. Override sysroot to be empty string for the test to succeed when clang is configured with DEFAULT_SYSROOT.




More information about the All-commits mailing list