MCPcopy Create free account
hub / github.com/apache/trafficserver / useColourOnPlatform

Function useColourOnPlatform

lib/catch2/catch.hpp:10220–10231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10218 };
10219
10220 bool useColourOnPlatform() {
10221 return
10222#if defined(CATCH_PLATFORM_MAC) || defined(CATCH_PLATFORM_IPHONE)
10223 !isDebuggerActive() &&
10224#endif
10225#if !(defined(__DJGPP__) && defined(__STRICT_ANSI__))
10226 isatty(STDOUT_FILENO)
10227#else
10228 false
10229#endif
10230 ;
10231 }
10232 IColourImpl* platformColourInstance() {
10233 ErrnoGuard guard;
10234 IConfigPtr config = getCurrentContext().getConfig();

Callers 1

platformColourInstanceFunction · 0.85

Calls 1

isDebuggerActiveFunction · 0.85

Tested by

no test coverage detected