File: stats.py

package info (click to toggle)
austin 3.7.0-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 11,444 kB
  • sloc: ansic: 8,622; python: 2,669; sh: 106; makefile: 54
file content (16 lines) | stat: -rw-r--r-- 344 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import sys
from pathlib import Path
from test.cunit import SRC
from test.cunit import CModule


CFLAGS = ["-g", "-fprofile-arcs", "-ftest-coverage", "-fPIC"]

EXTRA_SOURCES = [
    SRC / "argparse.c",
    SRC / "logging.c",
]

sys.modules[__name__] = CModule.compile(
    SRC / Path(__file__).stem, cflags=CFLAGS, extra_sources=EXTRA_SOURCES
)