You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All tests passed for Debug build type, but failed at "DeathNoAllocNewHook" for Release build type.
It seems that NewHook not called when testing new int;
$ ./loggint_unittest
[==========] Running 14 tests from 12 test suites.
[----------] Global test environment set-up.
[----------] 1 test from DeathNoAllocNewHook
[ RUN ] DeathNoAllocNewHook.logging
Function didn't die (unexpected new): { new int; }
All tests passed for Debug build type, but failed at "DeathNoAllocNewHook" for Release build type.
It seems that
NewHook
not called when testingnew int
;Context
GLOG version: commit cd8fbd5
System: MacOS Montery (Intel i7 CPU inside)
Compiler: clang-13
IDE: VSCode (Version: 1.62.3)
CMAKE: 3.22.0
The text was updated successfully, but these errors were encountered: