[all-commits] [llvm/llvm-project] 0195b3: [flang] Fix bug in tests for standalone build

Tim Keith via All-commits all-commits at lists.llvm.org
Tue May 5 11:09:22 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 0195b3a9098eba9349f4291606581669b2bef548
      https://github.com/llvm/llvm-project/commit/0195b3a9098eba9349f4291606581669b2bef548
  Author: Tim Keith <tkeith at nvidia.com>
  Date:   2020-05-05 (Tue, 05 May 2020)

  Changed paths:
    M flang/test/lit.cfg.py
    M flang/test/lit.site.cfg.py.in

  Log Message:
  -----------
  [flang] Fix bug in tests for standalone build

When doing a standalone build of flang against an LLVM that contains a
built flang, the tests were run on the flang from LLVM rather than on
the one that was just built.

The problem was in the lit configuration for finding %flang etc.
Fix it to look only in the directory where it was built.

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




More information about the All-commits mailing list