1. 29 Apr, 2019 1 commit
  2. 22 Jan, 2019 1 commit
  3. 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
  4. 03 Dec, 2018 2 commits
  5. 07 Nov, 2018 1 commit
    • krzysio's avatar
      Googletest export · 105579a6
      krzysio authored
      Improve Bazel build files.
      
      New target gtest_prod allows access to the FRIEND_TEST macro without depending on the entirety of GTest in production executables. Additionally, duplicate config_setting rules were removed and formatting was adjusted.
      
      PiperOrigin-RevId: 220279205
      105579a6
  6. 01 Oct, 2018 2 commits
    • misterg's avatar
      Googletest export · a7b21c95
      misterg authored
      Internal Change
      
      PiperOrigin-RevId: 215236414
      a7b21c95
    • durandal's avatar
      Googletest export · be429c89
      durandal authored
      Add myself to the authors table.
      
      PiperOrigin-RevId: 214822035
      be429c89
  7. 12 Jul, 2018 1 commit
  8. 10 Jul, 2018 1 commit
    • Derek Mauro's avatar
      Adds stacktrace support from Abseil to Google Test · 4c417877
      Derek Mauro authored
      This change adds the ability to generate stacktraces in Google Test on
      both failures of assertions/expectations and on crashes. The
      stacktrace support is conditionally available only when using Abseil
      with Google Test.
      
      To use this support, run the test under Bazel with a command like this:
      
      bazel test --define absl=1 --test_env=GTEST_INSTALL_FAILURE_SIGNAL_HANDLER=1 //path/to/your:test
      
      The "--define absl=1" part enables stacktraces on assertion/expectation
      failures.
      
      The "--test_env=GTEST_INSTALL_FAILURE_SIGNAL_HANDLER=1" part enables
      the signal handler that logs a stacktrace in the event of a crash
      (this also requires the "--define absl=1" part). This is not the
      default since it may interfere with existing tests.
      4c417877
  9. 31 Jan, 2018 1 commit
  10. 30 Jan, 2018 1 commit
  11. 09 Jan, 2018 1 commit
  12. 18 Aug, 2017 2 commits
  13. 10 Aug, 2017 3 commits
  14. 09 Aug, 2017 2 commits
    • misterg's avatar
      WIP · 66a03695
      misterg authored
      66a03695
    • misterg's avatar
      WIP · ac885f3a
      misterg authored
      ac885f3a
  15. 08 Aug, 2017 2 commits
  16. 02 Aug, 2017 2 commits
    • misterg's avatar
      WIP · aa31cb67
      misterg authored
      aa31cb67
    • misterg's avatar
      WIP · 6615f7df
      misterg authored
      6615f7df
  17. 01 Aug, 2017 2 commits
    • misterg's avatar
      WIP · b3edada2
      misterg authored
      b3edada2
    • misterg's avatar
      WIP · f63e2a14
      misterg authored
      f63e2a14