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

Setting preset does not update color options for D500 #12272

Merged
merged 6 commits into from
Oct 11, 2023

Conversation

OhadMeir
Copy link
Contributor

@OhadMeir OhadMeir commented Oct 9, 2023

There were 2 design options:

  1. Adding API to device_interface and each concrete device type will implement if color options need setting.
  2. Handle preset logic in advanced_mode deciding based on device type. Might need to update advanced_mode module for future devices.

I selected option number 2.

@OhadMeir OhadMeir requested a review from Nir-Az October 9, 2023 18:11
# License: Apache 2.0. See LICENSE file in root directory.
# Copyright(c) 2023 Intel Corporation. All Rights Reserved.

# test:donotrun:gha
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does it means?
Where would this test run?

Aren't we missing
#device d400*
#device D500*? (not sure it will work)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Beside that question, great test!!

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I checked,
LibCI: -D- test-live-options-presets is not live; skipping
GHA - -D- test-live-options-presets is marked do-not-run; skipping

GHA is not running live tests IMO.
You should add the matching #device keywords

# License: Apache 2.0. See LICENSE file in root directory.
# Copyright(c) 2023 Intel Corporation. All Rights Reserved.

# test:device each(D400*) each(D500*)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This might not work for 2 reasons.

  1. not sure this syntax is supported, let's see
    Normally I know we do:
#test:device each(D400*) 
#test:device each(D500*)
  1. Not sure D500* will work, I think since we do not have D500 discovered LibCI might fail
    If it happened, we need to remove it here and add it in another PR elsewere

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will delete D500 for now.
I know we don't have D500 yet on LibCI but we will have soon. We will need to think on a solution to all the tests, adding D500 to all seems to much.

Copy link
Collaborator

@Nir-Az Nir-Az left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Nir-Az Nir-Az merged commit 8c58fba into IntelRealSense:development Oct 11, 2023
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