MCPcopy Create free account
hub / github.com/cpputest/cpputest / _exitNonZeroFunction

Function _exitNonZeroFunction

tests/CppUTest/UtestPlatformTest.cpp:64–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62
63static void _exitNonZeroFunction() _no_return_;
64static void _exitNonZeroFunction()
65{
66 /* destructor of static objects will be called. If StringCache was there then the allocator will report invalid deallocations of static SimpleString */
67 SimpleString::setStringAllocator(SimpleString::getStringAllocator()->actualAllocator());
68 exit(1);
69}
70
71#include <errno.h>
72

Callers

nothing calls this directly

Calls 1

actualAllocatorMethod · 0.45

Tested by

no test coverage detected