Skip to content

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

eborden added 2 commits March 7, 2019 12:01
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.

3 participants