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 some tests not in windows #59

Merged
Merged
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion opencsp/app/sofast/test/test_CalibrateDisplayShape.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Tests Sofast screen distortion calibration
"""

import os
from os.path import join, dirname
import unittest

Expand Down Expand Up @@ -71,7 +72,7 @@ def setUpClass(cls):
)
cls.data_meas = dist_data

@pytest.mark.no_xvfb
@pytest.mark.skipif(os.name != 'nt', reason='Does not pass in Linux environment for unkonwn reason.')
def test_screen_distortion_data(self):
"""Tests screen calibration data"""
np.testing.assert_allclose(
Expand Down
4 changes: 4 additions & 0 deletions opencsp/common/lib/process/test/test_MemoryMonitor.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import os

import pytest
import time
import unittest

Expand Down Expand Up @@ -44,6 +47,7 @@ def test_stop(self):
monitor.stop(wait=True)
self.assertTrue(monitor.done(), "Monitor should have stopped immediately")

@pytest.mark.skipif(os.name != 'nt', reason='Does not pass in linux Linux environmnet for unknown reason.')
def test_large_memory_usage(self):
monitor = mm.MemoryMonitor()
monitor.start()
Expand Down