f3d icon indicating copy to clipboard operation
f3d copied to clipboard

Some modules of OCCT seems to change the return code

Open Meakk opened this issue 2 years ago • 0 comments

Describe the bug When building OCCT with some modules, failing tests are not seen because the returned code is always 0

To Reproduce Steps to reproduce the behavior:

  1. Build f3d without OCCT module
  2. Run f3d --invalid-option, return code is non-zero
  3. Build f3d without OCCT module (with OCCT build containing DRAW modules)
  4. Run f3d --invalid-option, return code is zero

Note it's not reproducible with the release packages because problematic OCCT modules are not included.
I'm suspecting there is a std::atexit call hooking the return code.

Help Wanted We are looking for an OCCT expert that could identify where this issue is coming from in OCCT.

Meakk avatar Jun 03 '22 08:06 Meakk