1. 14 Jan, 2019 1 commit
    • Pavel Samolysov's avatar
      Enable building as a shared library (dll) on Windows with Bazel · c868da19
      Pavel Samolysov authored
      
      
      While the google test library is being built as a shared library using Bazel,
      so that there is a rule like
      
      cc_test(
           name = "iterator_traits_test",
           linkstatic = 0,
           deps = ["@gtest//:gtest_main"],
           ...
      )
      
      in a BUILD file, the following error appears on Windows:
      
      INFO: Found 1 test target...
      ERROR: C:/../external/gtest/BUILD.bazel:55:1: output 'external/gtest/gtest.if.lib' was not created
      ERROR: C:/../external/gtest/BUILD.bazel:55:1: not all outputs were created or valid
      Target //test:iterator_traits_test failed to build
      
      The reason is a missing "win_def_file" attribute of the "gtest" and
      "gtest_main" rules in the BUILD.bazel inside the google test library
      package.
      
      The "windows_export_all_symbols" feature is added to the rules, this
      feature forces Bazel to export all symbols from the google test library
      to linker. I believe exporting all symbols from a testing library makes
      no problem for the application from a point of view on encapsulation.
      Signed-off-by: default avatarPavel Samolysov <samolisov@gmail.com>
      c868da19
  2. 11 Jan, 2019 1 commit
    • misterg's avatar
      Googletest export · 0599a7b8
      misterg authored
      Change tests to use new Test Suite API
      
      PiperOrigin-RevId: 228908894
      0599a7b8
  3. 10 Jan, 2019 4 commits
  4. 08 Jan, 2019 3 commits
  5. 07 Jan, 2019 2 commits
  6. 06 Jan, 2019 1 commit
  7. 05 Jan, 2019 1 commit
  8. 04 Jan, 2019 1 commit
  9. 03 Jan, 2019 9 commits
  10. 02 Jan, 2019 6 commits
  11. 29 Dec, 2018 2 commits
  12. 28 Dec, 2018 2 commits
  13. 27 Dec, 2018 3 commits
  14. 21 Dec, 2018 4 commits