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

Tim Keith via Phabricator via flang-commits flang-commits at lists.llvm.org
Sat May 23 12:43:21 PDT 2020


tskeith added a comment.

>> Where is `gtest_main` found in your **build**?
> 
> It's in build/lib/libgtest_main.a

Thanks, I found the problem: I had `LLVM_INCLUDE_TESTS` set to `Off` and apparently it must be `On` for gtest to get built.
So the cmake files should either force it to be on when `FLANG_INCLUDE_TESTS` is on, or report a fatal error when they are set inconsistently.


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

https://reviews.llvm.org/D80377





More information about the flang-commits mailing list