LCOV - code coverage report
Current view: top level - Python - getcompiler.c (source / functions) Hit Total Coverage
Test: CPython lcov report Lines: 2 2 100.0 %
Date: 2017-04-19 Functions: 1 1 100.0 %

          Line data    Source code
       1             : 
       2             : /* Return the compiler identification, if possible. */
       3             : 
       4             : #include "Python.h"
       5             : 
       6             : #ifndef COMPILER
       7             : 
       8             : #ifdef __GNUC__
       9             : #define COMPILER "\n[GCC " __VERSION__ "]"
      10             : #endif
      11             : 
      12             : #endif /* !COMPILER */
      13             : 
      14             : #ifndef COMPILER
      15             : 
      16             : #ifdef __cplusplus
      17             : #define COMPILER "[C++]"
      18             : #else
      19             : #define COMPILER "[C]"
      20             : #endif
      21             : 
      22             : #endif /* !COMPILER */
      23             : 
      24             : const char *
      25           3 : Py_GetCompiler(void)
      26             : {
      27           3 :         return COMPILER;
      28             : }

Generated by: LCOV version 1.10