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

added param test_dir in run-unit-tests.py #12874

Merged
merged 4 commits into from
Apr 30, 2024

Conversation

kadiredd
Copy link

No description provided.

@@ -365,6 +377,8 @@ def get_tests():

# Python unit-test scripts are in the same directory as us... we want to consider running them
# (we may not if they're live and we have no pyrealsense2.pyd):
if test_dir:

Choose a reason for hiding this comment

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

Please don't change the global variable current_dir, it's used as the script directory also. Use a local variable to assign test_dir or current_dir to search for the tests

Copy link
Author

Choose a reason for hiding this comment

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

Done. Point taken and incorporated these comments.

@deep0294 deep0294 self-requested a review April 23, 2024 09:09
@Nir-Az Nir-Az merged commit 74d5369 into IntelRealSense:development Apr 30, 2024
17 checks passed
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.

3 participants