Skip to content

Commit 8294bbc

Browse files
committed
Skip OpenMPI 5-specific integration test on non-Linux platforms
1 parent 28377bc commit 8294bbc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/test_khiops_integrations.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,9 @@ def test_environment_error_on_bogus_khiops_env_script(self):
284284
output_msg = str(context.exception)
285285
self.assertEqual(output_msg, expected_msg)
286286

287+
@unittest.skipIf(
288+
platform.system() != "Linux", "Skipping test for non-Linux platform"
289+
)
287290
def test_runner_environment_for_openmpi5(self):
288291
"""Test if KHIOPS_MPI_HOME is actually exported
289292
and HOME is corrected for OpenMPI 5+"""

0 commit comments

Comments
 (0)