MCPcopy Create free account
hub / github.com/WasmEdge/WasmEdge / useColourOnPlatform

Function useColourOnPlatform

test/expected/catch.hpp:10113–10124  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10111 };
10112
10113 bool useColourOnPlatform() {
10114 return
10115#if defined(CATCH_PLATFORM_MAC) || defined(CATCH_PLATFORM_IPHONE)
10116 !isDebuggerActive() &&
10117#endif
10118#if !(defined(__DJGPP__) && defined(__STRICT_ANSI__))
10119 isatty(STDOUT_FILENO)
10120#else
10121 false
10122#endif
10123 ;
10124 }
10125 IColourImpl* platformColourInstance() {
10126 ErrnoGuard guard;
10127 IConfigPtr config = getCurrentContext().getConfig();

Callers 1

platformColourInstanceFunction · 0.85

Calls 1

isDebuggerActiveFunction · 0.85

Tested by

no test coverage detected