Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Analysis: more test related fixes to try to increase code coverage #3643

Merged
merged 1 commit into from
Nov 1, 2022

Conversation

lgritz
Copy link
Collaborator

@lgritz lgritz commented Nov 1, 2022

  • Test oiiotool control flow syntax mistakes
  • Test oiiotool --set with array of strings
  • oiiotool: better adjust_geometry unit testing

Helper utility additions:

  • oiiotool --no-error-exit

    --no-error-exit causes an error to not exit immediately, but rather to try its best to continue execuing command line operations. Use with caution! This is mainly for unit tests and debugging.

    --unittest also turns this on automatically, so that tests that are probing failures don't cause an exit.

  • unittest.h: If OIIO_UNIT_TEST_QUIET_SUCCESS is defined, don't print anything extra for unit test success

* Test oiiotool control flow syntax mistakes
* Test oiiotool --set with array of strings
* oiiotool: better adjust_geometry unit testing

Helper utility additions:

* oiiotool --no-error-exit

  `--no-error-exit` causes an error to not exit immediately, but
  rather to try its best to continue execuing command line
  operations. Use with caution! This is mainly for unit tests and
  debugging.

  `--unittest` also turns this on automatically, so that tests that
  are probing failures don't cause an exit.

* unittest.h: If OIIO_UNIT_TEST_QUIET_SUCCESS is defined, don't print
  anything extra for unit test success
@lgritz lgritz merged commit 1beeb27 into AcademySoftwareFoundation:master Nov 1, 2022
@lgritz lgritz deleted the lg-analysis branch November 1, 2022 15:49
lgritz added a commit to lgritz/OpenImageIO that referenced this pull request Nov 4, 2022
…cademySoftwareFoundation#3643)

* Test oiiotool control flow syntax mistakes
* Test oiiotool --set with array of strings
* oiiotool: better adjust_geometry unit testing

Helper utility additions:

* oiiotool --no-error-exit

  `--no-error-exit` causes an error to not exit immediately, but
  rather to try its best to continue execuing command line
  operations. Use with caution! This is mainly for unit tests and
  debugging.

  `--unittest` also turns this on automatically, so that tests that
  are probing failures don't cause an exit.

* unittest.h: If OIIO_UNIT_TEST_QUIET_SUCCESS is defined, don't print
  anything extra for unit test success
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant