1. 30 May, 2023 1 commit
  2. 25 May, 2023 1 commit
    • niranjan's avatar
      Disable some warnings for IntelLLVM on Windows. · 029d3ddd
      niranjan authored
      Use /fp:precise to override IntelLLVM's default of /fp:fast.
      This makes IsInf and IsNan work as expected by googletest.
      
      ```
      [build]...\googletest\googlemock\test\gmock-function-mocker_test.cc(143,21): error: 'VoidReturning' overrides a member function but is not marked 'override' [-Werror,-Winconsistent-missing-override]
      [build]   MOCK_METHOD(void, VoidReturning, (int n));  // NOLINT
      ```
      
      ```
      [build] ...\googletest\googlemock\test\gmock-function-mocker_test.cc(182,20): error: exception specification of overriding function is more lax than base version [-Werror,-Wmicrosoft-exception-spec]
      [build]   MOCK_METHOD(int, CTNullary, (), (Calltype(STDMETHODCALLTYPE)));
      ```
      
      ```
      [build] ...\googletest\googletest\test\googletest-death-test-test.cc(209,5): error: unused function 'DieInCRTDebugElse12' [-Werror,-Wunused-function]
      [build] int DieInCRTDebugElse12(int* sideeffect) {
      [build]     ^
      ```
      
      ```
      [build] ...\googletest\googletest\test\gtest_unittest.cc(4096,7): error: variable 'n' set but not used [-Werror,-Wunused-but-set-variable]
      [build]   int n = 0;
      ```
      029d3ddd
  3. 24 May, 2023 1 commit
    • Niranjan Nilakantan's avatar
      Build googletest with IntelLLVM compilers. · e032d576
      Niranjan Nilakantan authored
      Use the same flags as Clang if the compiler id is IntelLLVM.
      
      IntelLLVM warns if a double constant is assigned to a float.
      
      ```
      [build] .../googletest/googletest/include/gtest/gtest-printers.h:516:17: warning: implicit conversion between floating point types of different sizes [-Wimplicit-float-size-conversion]
      [build]       mulfor6 = 1e1;
      ```
      
      IntelLLVM uses fp-model=fast by default, breaking IsNan and IsInf tests.
      Use -ffp-model=precise to fix this.
      
      IntelLLVM does not support -Wchar-subscripts
      
      Fixes #4255
      e032d576
  4. 22 May, 2023 1 commit
  5. 21 May, 2023 1 commit
  6. 17 May, 2023 1 commit
  7. 16 May, 2023 1 commit
  8. 15 May, 2023 2 commits
  9. 11 May, 2023 4 commits
  10. 08 May, 2023 1 commit
  11. 07 May, 2023 1 commit
  12. 05 May, 2023 1 commit
  13. 02 May, 2023 1 commit
  14. 01 May, 2023 2 commits
  15. 28 Apr, 2023 2 commits
  16. 26 Apr, 2023 1 commit
    • Abseil Team's avatar
      Use Abseil Flag public API for flag parsing. · dea0484e
      Abseil Team authored
      This change brings InitGoogleTest semantic in accordance with the official documentation: only GoogleTest flags are removed from argc/argv. The rest of the flags remains in place. We do nothing special for flags with unrecognized gunit_/gtest_ prefix and we do not report them.
      
      PiperOrigin-RevId: 527257221
      Change-Id: Ibb29a1bda1a44251a4ee579c0fb5bbdfd9965c21
      dea0484e
  17. 25 Apr, 2023 2 commits
  18. 24 Apr, 2023 1 commit
    • Patryk Gawroński's avatar
      gmock: fix issue #4222 · 51eeae5a
      Patryk Gawroński authored
      Rename 'Result' struct to 'NonMoveableStruct' in
      gmock-spec-builders_test.cc in ExpectCallTest.NonMoveableType test
      51eeae5a
  19. 21 Apr, 2023 2 commits
  20. 20 Apr, 2023 5 commits
  21. 17 Apr, 2023 2 commits
  22. 14 Apr, 2023 1 commit
  23. 12 Apr, 2023 1 commit
  24. 11 Apr, 2023 2 commits
  25. 05 Apr, 2023 1 commit
    • Abseil Team's avatar
      gtest.cc: run tests within a test suite in a deterministic order. · 057b4e90
      Abseil Team authored
      Ensure that tests are run in the order specified in the source code, even if
      they are registered manually using RegisterTest. There should be no behavior
      change for the common case.
      
      PiperOrigin-RevId: 522136303
      Change-Id: If155e2666780af0e514fbbf5ff2b157d5fe2fef1
      057b4e90
  26. 03 Apr, 2023 1 commit