LCOV - code coverage report
Current view: top level - Modules - python.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             : /* Minimal main program -- everything is loaded from the library */
       2             : 
       3             : #include "Python.h"
       4             : 
       5             : #ifdef __FreeBSD__
       6             : #include <fenv.h>
       7             : #endif
       8             : 
       9             : int
      10           3 : main(int argc, char **argv)
      11             : {
      12             :         /* 754 requires that FP exceptions run in "no stop" mode by default,
      13             :          * and until C vendors implement C99's ways to control FP exceptions,
      14             :          * Python requires non-stop mode.  Alas, some platforms enable FP
      15             :          * exceptions by default.  Here we disable them.
      16             :          */
      17             : #ifdef __FreeBSD__
      18             :         fedisableexcept(FE_OVERFLOW);
      19             : #endif
      20           3 :         return Py_Main(argc, argv);
      21             : }

Generated by: LCOV version 1.10