1. 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
  2. 14 Jun, 2018 6 commits
  3. 13 Jun, 2018 7 commits
  4. 12 Jun, 2018 1 commit
    • Takuto Ikuta's avatar
      Reduce the number of strcmp calling while initialization · f4d0631a
      Takuto Ikuta authored
      When we do parallel test execution with a process for a test,
      initialization of gtest become performance bottleneck when the test
      binary contains many testcases.
      
      Especially, some parameterlized test in chromium browser affected by
      largely when address sanitizer is enabled.
      Address sanitizer does not allow using optimized strcmp function and
      test addition in parameterized test require lookup of test case using
      strcmp.
      
      This patch reduces the number of strcmp, it is called when registering
      parameterized test. Using reverse iterator improves the time to find
      registered tests in such case.
      
      Some tests for chromium browser using address sanitizer finished 2x
      faster with this patch.
      f4d0631a
  5. 11 Jun, 2018 12 commits
  6. 07 Jun, 2018 1 commit
  7. 05 Jun, 2018 1 commit
  8. 04 Jun, 2018 4 commits
  9. 01 Jun, 2018 1 commit
  10. 31 May, 2018 2 commits
  11. 23 May, 2018 3 commits
  12. 22 May, 2018 1 commit