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

Fixing port logic family unit tests to skip on Linux #676

Merged

Conversation

YeimiinCheah-NI
Copy link
Contributor

@YeimiinCheah-NI YeimiinCheah-NI commented Mar 1, 2025

- [ ] I've added tests applicable for this pull request

What does this Pull Request accomplish?

This pull-request is to fix the port logic family unit tests on the test_physical_channel_properties.py. As of 25.3, the mioDAQ only support Windows and both get and set port logic family tests are trying to create a simulated device on Linux which causes the test to failed. Hence, I'm marking both of them to skip when it is not Windows.

Why should this Pull Request be merged?

To fix BUG 2955106

What testing has been done?

Successfully build locally:
image

Used the CompTest-u2004 to perform the test on Ubuntu and the tests are passing now:
Before:
image
After:
image

@charitylxy charitylxy merged commit 601db52 into ni:master Mar 4, 2025
18 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.

5 participants