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

Skip test_build_cmake on Windows. #772

Conversation

bfloch
Copy link
Contributor

@bfloch bfloch commented Oct 23, 2019

The goal is to have better visibility of failure on Windows in our
automated tests, while the CMake issues are being addressed.
Added a known issues and limitations section in the README.

@bfloch
Copy link
Contributor Author

bfloch commented Oct 23, 2019

Should pass Windows after #770

The goal is to have better visibility of failure on Windows in our
automated tests, while the CMake issues are being addressed.
Added a known issues and limitations section in the README.
@bfloch bfloch force-pushed the feature/skip_windows_cmake_test branch from 5325395 to 5effe63 Compare October 23, 2019 21:34
@@ -155,6 +156,11 @@ def test_builds_anti(self):
@program_dependent("cmake")
def test_build_cmake(self):
"""Test a cmake-based package."""
if platform_.name == "windows":

Choose a reason for hiding this comment

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

I'm wondering if we could potentially do:

    @unittest.skipIf(platform_.name == "windows", "This ...")
    @program_dependent("cmake")
    def test_build_cmake(self):
        """Test a cmake-based package."""

Would that work?

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm merging this anyway, given that it's a temporary measure. If it works then it works - better to get traction on the source of the problem (and yes Blazej I will get up to speed on that ticket soon).

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Looks good @JeanChristopheMorinPerso.
I just took it from some other location that does it with a condition, so we might want to unify all of them.
But it's also true that we should try to get rid of these guys completely :)

@nerdvegas nerdvegas merged commit 3d32dd3 into AcademySoftwareFoundation:master Oct 24, 2019
@bfloch bfloch mentioned this pull request Oct 24, 2019
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.

None yet

3 participants