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

Add loopback tests for if index #391

Merged
merged 4 commits into from
Mar 9, 2019

Conversation

eborden
Copy link
Collaborator

@eborden eborden commented Mar 7, 2019

I've added a tests for ifIndexToName and ifNameToIndex. As expected these are passing on Linux and failing on Windows.

We either need to disable these functions for Windows or handle them in that environment. @Mistuke do you have any recommendations?

Related Issues:
#390
haskell/haskell-platform#318 (comment)
#361

Not having tests for these functions created a regression on windows. We
should be minimally exercising these paths.
@eborden eborden self-assigned this Mar 7, 2019
@eborden eborden requested a review from Mistuke March 7, 2019 18:12
@Mistuke
Copy link
Collaborator

Mistuke commented Mar 7, 2019

@eborden we just need to add Iphlpapi as extra-libraries on windows. That should fix it.

Copy link
Collaborator

@Mistuke Mistuke left a comment

Choose a reason for hiding this comment

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

That should do it.

@eborden eborden merged commit d184b40 into master Mar 9, 2019
@eborden eborden deleted the eborden/add-loopback-tests-for-if-index branch March 9, 2019 16:04
@eborden
Copy link
Collaborator Author

eborden commented Mar 9, 2019

Thanks @Mistuke!

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