Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tests/test_smoke.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@
conan_provider = src_dir / "conan_provider.cmake"
resources_dir= src_dir / 'tests' / 'resources'

unix = pytest.mark.skipif(platform.system() != "Linux" and platform.system() != "Darwin", reason="Linux or Darwin only")
unix = pytest.mark.skipif(platform.system() not in ["Linux", "Darwin"], reason="Linux or Darwin only")
linux = pytest.mark.skipif(platform.system() != "Linux", reason="Linux only")
darwin = pytest.mark.skipif(platform.system() != "Darwin", reason="Darwin only")
windows = pytest.mark.skipif(platform.system() != "Windows", reason="Windows only")
android = pytest.mark.skipif(not os.environ.get("ANDROID_NDK_ROOT"), reason="Requires $ANDROID_NDK_ROOT to be set")


def run(cmd, check=True):
Expand Down Expand Up @@ -524,6 +525,7 @@ def test_no_os_version(self, capfd, basic_cmake_project):
out, _ = capfd.readouterr()
assert "os.version=10.15" not in out

@android
class TestAndroid:
def test_android_armv8(self, capfd, basic_cmake_project):
"Building for Android armv8"
Expand Down