diff --git a/tests.py b/tests.py
index a050501fc98045e75f5864f8c8935ae1edbf368e..868a65927511d8d0d9101b4cc14f82aa2cf6ac39 100644
--- a/tests.py
+++ b/tests.py
@@ -7,6 +7,7 @@ import subprocess
 from pathlib import Path
 import logging
 import datetime
+import sys
 
 import pytest
 
@@ -210,6 +211,7 @@ def test_install_environment_wrong_mpsd_release(tmp_path):
         )
 
 
+@pytest.mark.skipif(sys.platform == "darwin", reason="install not working on OSX")
 def test_install_environment_zlib():
     """Test installation of toolchain."""
     # Prepare a test installation of global generic