Skip to content

Conversation

@mthrok
Copy link
Contributor

@mthrok mthrok commented Jul 31, 2020

I am trying to fix the issue C++ extension availability when building/installing torchaudio from source. See #842 for the detail.

Currently our test suites automatically/silently skip tests on C++ extension if it is not available.
This is nice in local env, but in CI these tests should be enforced and reported as failure if C++ extension is not available.

This PR adds switch for making tests fail if C++ extension is not available.

This should make #845 fail so that we can debug what is wrong with the current setup.

@mthrok mthrok marked this pull request as ready for review July 31, 2020 17:59
@mthrok mthrok requested a review from vincentqb July 31, 2020 17:59
@mthrok
Copy link
Contributor Author

mthrok commented Jul 31, 2020

Copy link
Contributor

@vincentqb vincentqb left a comment

Choose a reason for hiding this comment

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

LGTM

@mthrok mthrok merged commit 3bab2b2 into pytorch:master Jul 31, 2020
@mthrok mthrok deleted the test-force-extension branch July 31, 2020 21:12
@mthrok
Copy link
Contributor Author

mthrok commented Jul 31, 2020

thanks!

mthrok added a commit that referenced this pull request Jul 31, 2020
@mthrok mthrok mentioned this pull request Aug 3, 2020
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