[PATCH] D80377: [flang] Google test infrastructure support for unittests

sameeran joshi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 2 07:08:53 PDT 2020


sameeranjoshi updated this revision to Diff 267871.
sameeranjoshi added reviewers: CarolineConcatto, tskeith.
sameeranjoshi added a comment.

All the changes were made for handling out-of-tree errors, no changes in in-tree handling code.

1. Some changes were ported from fir-dev to resolve  out-of-tree errors and some API changes which were bugs and merged in fir-dev .
2. A sample gtest is added.
3. Changes in Cmake to support out-of-tree builds of unittests
4. README updated for out-of-tree setup

note: check-flang-unit won't work for out-of-tree till D81002 <https://reviews.llvm.org/D81002> is merged.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80377/new/

https://reviews.llvm.org/D80377

Files:
  CMakeLists.txt
  README.md
  include/flang/Optimizer/Support/InternalNames.h
  lib/Optimizer/Support/InternalNames.cpp
  runtime/io-error.cpp
  test/CMakeLists.txt
  test/Unit/lit.cfg.py
  test/Unit/lit.site.cfg.py.in
  unittests/CMakeLists.txt
  unittests/Optimizer/CMakeLists.txt
  unittests/Optimizer/InternalNamesTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80377.267871.patch
Type: text/x-patch
Size: 10003 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200602/8665fa15/attachment.bin>


More information about the llvm-commits mailing list