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

App: Fix Endoscopy Tool Tracking C++ Test Config #477

Merged
merged 1 commit into from
Aug 26, 2024

Conversation

tbirdso
Copy link
Contributor

@tbirdso tbirdso commented Aug 26, 2024

Fixes issue where Endoscopy Tool Tracking C++ tests were relying on the default YAML configuration rather than the expected test configuration.

153bdfd updated the Endoscopy Tool Tracking C++ app CLI:

  • Under previous behavior a configuration path could be passed as the 0th positional argument
  • Under new behavior a configuration path may be passed as a keyword --config argument. This brings the C++ app CLI into closer alignment with the existing --data argument and with the Python app CLI.

Prior to this fix, C++ test failures were observed:

  • The test config file was not properly passed to the app under the new CLI. Instead the default test config was used, which does not define a stop condition and led to test timeout.
  • The C++ render test failed due to relying on frame output from the test above.

Reproduced previous test failures locally and verified tests pass with this fix applied.

@tbirdso tbirdso requested review from jjomier and mocsharp August 26, 2024 14:42
Fixes issue where Endoscopy Tool Tracking C++ tests were relying on the
default YAML configuration rather than the expected test configuration.

153bdfd updated the Endoscopy Tool Tracking C++ app CLI:
- Under previous behavior a configuration path could be passed as the
  0th positional argument
- Under new behavior a configuration path may be passed as a keyword
  `--config` argument. This brings the C++ app CLI into closer alignment
  with the existing `--data` argument and with the Python app CLI.

Prior to this fix, C++ test failures were observed:
- The test config file was not properly passed to the app under the new
  CLI. Instead the default test config was used, which does not define a
  stop condition and led to test timeout.
- The C++ render test failed due to relying on frame output from the
  test above.

Reproduced previous test failures locally and verified tests pass with
this fix applied.

Signed-off-by: Tom Birdsong <tbirdsong@nvidia.com>
@tbirdso tbirdso force-pushed the endoscopy-test-fixes branch from a05b73b to 317eb8e Compare August 26, 2024 14:43
@tbirdso tbirdso merged commit 135b502 into nvidia-holoscan:main Aug 26, 2024
3 checks passed
sohamm17 pushed a commit that referenced this pull request Sep 3, 2024
Fixes issue where Endoscopy Tool Tracking C++ tests were relying on the
default YAML configuration rather than the expected test configuration.

153bdfd updated the Endoscopy Tool Tracking C++ app CLI:
- Under previous behavior a configuration path could be passed as the
  0th positional argument
- Under new behavior a configuration path may be passed as a keyword
  `--config` argument. This brings the C++ app CLI into closer alignment
  with the existing `--data` argument and with the Python app CLI.

Prior to this fix, C++ test failures were observed:
- The test config file was not properly passed to the app under the new
  CLI. Instead the default test config was used, which does not define a
  stop condition and led to test timeout.
- The C++ render test failed due to relying on frame output from the
  test above.

Reproduced previous test failures locally and verified tests pass with
this fix applied.

Signed-off-by: Tom Birdsong <tbirdsong@nvidia.com>
ronyrad pushed a commit to ronyrad/holohub that referenced this pull request Nov 8, 2024
Fixes issue where Endoscopy Tool Tracking C++ tests were relying on the
default YAML configuration rather than the expected test configuration.

153bdfd updated the Endoscopy Tool Tracking C++ app CLI:
- Under previous behavior a configuration path could be passed as the
  0th positional argument
- Under new behavior a configuration path may be passed as a keyword
  `--config` argument. This brings the C++ app CLI into closer alignment
  with the existing `--data` argument and with the Python app CLI.

Prior to this fix, C++ test failures were observed:
- The test config file was not properly passed to the app under the new
  CLI. Instead the default test config was used, which does not define a
  stop condition and led to test timeout.
- The C++ render test failed due to relying on frame output from the
  test above.

Reproduced previous test failures locally and verified tests pass with
this fix applied.

Signed-off-by: Tom Birdsong <tbirdsong@nvidia.com>
Signed-off-by: Rony Rado <rrado@nvidia.com>
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.

2 participants