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

Tim Keith via Phabricator via flang-commits flang-commits at lists.llvm.org
Fri May 22 07:28:57 PDT 2020


tskeith added a comment.

When I try to build I get this error:

  ld: library not found for -lgtest_main

Please update the README to indicate how to do the correct setup. A link to elsewhere in LLVM is fine.



================
Comment at: flang/README.md:168
+If flang was built with `-DFLANG_INCLUDE_TESTS=On` (`On` by default), it is possible to
+generate unittests.
+
----------------
How do you run unit tests for out-of-tree builds?


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

https://reviews.llvm.org/D80377





More information about the flang-commits mailing list