enthought / enthought/traits

Exercise C asserts in CI builds

Open
#1,763 0 comments 0 reactions 0 assignees View on GitHub
component: build component: core type: cleanup
Dominant language
Python
Stars
462
Forks
90
PR merge metrics
No merged PRs in 30d

Description

The `ctraits.c` source contains various `assert` statements, but those assert statements aren't being executed in our CI runs, because we inherit a `DNDEBUG` setting from the Python build settings. For CI runs, it would be good to build the `ctraits` extension using `undef_macros=["NDEBUG"]` so that the `assert`s are exercised.

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.