f3d: `--dry-run` option is not working

Describe the bug F3D usually uses a config file, but there is an option to disable this behavior, --dry-run. It seems to be non-functionnal currently

To Reproduce Steps to reproduce the behavior, using a built f3d with BUILD_TESTING enabled:

  1. Open the file using `f3d --config=config_build --dry-run --verbose
  2. F3D appears with axis visible, it should not
  3. Check the output, a config file is read

Expected behavior Config file should not be read

Additional context in F3DStarter.cxx:655, although the comment says that dry-run is being checked, its actually not. Add the check here by checking the cli option and position the boolean accordingly. Also add a test for it in application/testing/CMakeLists.txt

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 17 (16 by maintainers)

Commits related to this issue

Most upvoted comments

sure thats fine