[all-commits] [llvm/llvm-project] 91f7f0: [RISCV] Fix sysroot tests without GCC on RISC-V ho...

Luís Marques via All-commits all-commits at lists.llvm.org
Tue Feb 25 06:18:02 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 91f7f0d8e3ef2b6be07bc9621de075ff11c730c9
      https://github.com/llvm/llvm-project/commit/91f7f0d8e3ef2b6be07bc9621de075ff11c730c9
  Author: Luís Marques <luismarques at lowrisc.org>
  Date:   2020-02-25 (Tue, 25 Feb 2020)

  Changed paths:
    M clang/test/Driver/riscv32-toolchain-extra.c
    M clang/test/Driver/riscv64-toolchain-extra.c

  Log Message:
  -----------
  [RISCV] Fix sysroot tests without GCC on RISC-V hosts with GCC

D68391 added tests that check scenarios where no RISC-V GCC toolchain is
supposed to be detected. When running the tests on RISC-V hosts the system's
GCC toolchain will be detected, and the tests will fail. This patch adds a
`--gcc-toolchain` option pointing to a path where no GCC toolchain is
present, ensuring that the tests are run under the expected conditions, and
therefore are able to pass in all test environments.

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




More information about the All-commits mailing list