apache / celix

Apache Celix is a framework for C and C++14 to develop dynamic modular software applications using component and in-process service-oriented programming.
https://celix.apache.org/
Apache License 2.0
165 stars 86 forks source link

Hotfix/Run error injector tests only for Debug build. #652

Closed PengZheng closed 1 year ago

PengZheng commented 1 year ago

Fix testing issue for non-debug build following the suggestion given here.

Note that for cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_TESTING=ON ..; make -j 8; ctest, there is still a test failure left:

The following tests FAILED:
         49 - test_cxx_remote_services_integration (SEGFAULT)

A separate issue is raised: #653

codecov-commenter commented 1 year ago

Codecov Report

Merging #652 (c0b7c34) into master (be8a413) will increase coverage by 0.01%. The diff coverage is n/a.

:exclamation: Current head c0b7c34 differs from pull request most recent head dc0e0ae. Consider uploading reports for the commit dc0e0ae to get more accurate results

@@            Coverage Diff             @@
##           master     #652      +/-   ##
==========================================
+ Coverage   81.59%   81.60%   +0.01%     
==========================================
  Files         260      260              
  Lines       34675    34675              
==========================================
+ Hits        28292    28296       +4     
+ Misses       6383     6379       -4     

see 7 files with indirect coverage changes

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more