enthought / enthought/traits

Add etstool.py support for generating ctraits.c coverage

Open
#637 1 comment 0 reactions 0 assignees View on GitHub
component: build type: enhancement
Dominant language
Python
Stars
462
Forks
90
PR merge metrics
No merged PRs in 30d

Description

On Linux and macOS, getting test coverage information for ctraits.c via `gcov` is as simple as doing

```
export CFLAGS="-coverage"
python etstool.py install --editable
python etstool.py test
```

You should then find `ctraits.gcno` and `ctraits.gcda` files in your build directory. The first is generated at install time. The second contains the actual coverage data, and is generated at test time.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.