diff --git a/tests/regression_tests/cmfd_feed_2g/test.py b/tests/regression_tests/cmfd_feed_2g/test.py index 08b9dcca6..bc5ca2081 100644 --- a/tests/regression_tests/cmfd_feed_2g/test.py +++ b/tests/regression_tests/cmfd_feed_2g/test.py @@ -2,9 +2,6 @@ from tests.testing_harness import CMFDTestHarness from openmc import cmfd import numpy as np -import pytest - -@pytest.mark.skipif(True, reason='Not Planned for GPU Support') def test_cmfd_feed_2g(): """Test 2 group CMFD solver results with CMFD feedback""" # Initialize and set CMFD mesh diff --git a/tests/regression_tests/cmfd_feed_ng/test.py b/tests/regression_tests/cmfd_feed_ng/test.py index 978770fd6..9c17735d9 100644 --- a/tests/regression_tests/cmfd_feed_ng/test.py +++ b/tests/regression_tests/cmfd_feed_ng/test.py @@ -2,8 +2,6 @@ from tests.testing_harness import CMFDTestHarness from openmc import cmfd import numpy as np -import pytest -@pytest.mark.skipif(True, reason='Not Planned for GPU Support') def test_cmfd_feed_ng(): """Test n group CMFD solver with CMFD feedback""" # Initialize and set CMFD mesh diff --git a/tests/regression_tests/mg_basic/test.py b/tests/regression_tests/mg_basic/test.py index 7b456bb9d..beb13d48a 100644 --- a/tests/regression_tests/mg_basic/test.py +++ b/tests/regression_tests/mg_basic/test.py @@ -82,6 +82,8 @@ class MGXSTestHarness(PyAPITestHarness): os.remove(f) +import pytest +@pytest.mark.skip(reason="MG not planned for GPU support.") def test_mg_basic(): create_library() mat_names = ['base leg', 'base tab', 'base hist', 'base matrix', diff --git a/tests/regression_tests/mg_basic_delayed/test.py b/tests/regression_tests/mg_basic_delayed/test.py index f0474a567..7498eecda 100644 --- a/tests/regression_tests/mg_basic_delayed/test.py +++ b/tests/regression_tests/mg_basic_delayed/test.py @@ -7,7 +7,6 @@ from openmc.examples import slab_mg from tests.testing_harness import PyAPITestHarness - def create_library(): # Instantiate the energy group data and file object groups = openmc.mgxs.EnergyGroups(group_edges=[0.0, 0.625, 20.0e6]) @@ -120,6 +119,8 @@ class MGXSTestHarness(PyAPITestHarness): os.remove(f) +import pytest +@pytest.mark.skip(reason="MG not planned for GPU support.") def test_mg_basic_delayed(): create_library() model = slab_mg(num_regions=6, mat_names=['vec beta', 'vec no beta', diff --git a/tests/regression_tests/mg_convert/test.py b/tests/regression_tests/mg_convert/test.py index 4cc6b656a..e4cd6c368 100755 --- a/tests/regression_tests/mg_convert/test.py +++ b/tests/regression_tests/mg_convert/test.py @@ -193,6 +193,8 @@ class MGXSTestHarness(PyAPITestHarness): self._cleanup() +import pytest +@pytest.mark.skip(reason="MG not planned for GPU support.") def test_mg_convert(): harness = MGXSTestHarness('statepoint.10.h5') harness.main() diff --git a/tests/regression_tests/mg_legendre/test.py b/tests/regression_tests/mg_legendre/test.py index b5a05c706..125768fed 100644 --- a/tests/regression_tests/mg_legendre/test.py +++ b/tests/regression_tests/mg_legendre/test.py @@ -46,6 +46,8 @@ class MGXSTestHarness(PyAPITestHarness): os.remove(f) +import pytest +@pytest.mark.skip(reason="MG not planned for GPU support.") def test_mg_legendre(): create_library() model = slab_mg() diff --git a/tests/regression_tests/mg_max_order/test.py b/tests/regression_tests/mg_max_order/test.py index 97d3f57d7..ff2ad450e 100644 --- a/tests/regression_tests/mg_max_order/test.py +++ b/tests/regression_tests/mg_max_order/test.py @@ -46,6 +46,8 @@ class MGXSTestHarness(PyAPITestHarness): os.remove(f) +import pytest +@pytest.mark.skip(reason="MG not planned for GPU support.") def test_mg_max_order(): create_library() model = slab_mg() diff --git a/tests/regression_tests/mg_survival_biasing/test.py b/tests/regression_tests/mg_survival_biasing/test.py index 5d75611a9..2411faddc 100644 --- a/tests/regression_tests/mg_survival_biasing/test.py +++ b/tests/regression_tests/mg_survival_biasing/test.py @@ -46,6 +46,8 @@ class MGXSTestHarness(PyAPITestHarness): os.remove(f) +import pytest +@pytest.mark.skip(reason="MG not planned for GPU support.") def test_mg_survival_biasing(): create_library() model = slab_mg() diff --git a/tests/regression_tests/mg_tallies/test.py b/tests/regression_tests/mg_tallies/test.py index f4e9693f6..24c55f351 100644 --- a/tests/regression_tests/mg_tallies/test.py +++ b/tests/regression_tests/mg_tallies/test.py @@ -57,6 +57,8 @@ class MGXSTestHarness(PyAPITestHarness): os.remove(f) +import pytest +@pytest.mark.skip(reason="MG not planned for GPU support.") def test_mg_tallies(): create_library() model = slab_mg() diff --git a/tests/regression_tests/mgxs_library_ce_to_mg/test.py b/tests/regression_tests/mgxs_library_ce_to_mg/test.py index 72f052e68..43ef38034 100644 --- a/tests/regression_tests/mgxs_library_ce_to_mg/test.py +++ b/tests/regression_tests/mgxs_library_ce_to_mg/test.py @@ -77,6 +77,8 @@ class MGXSTestHarness(PyAPITestHarness): os.remove(f) +import pytest +@pytest.mark.skip(reason="MG not planned for GPU support.") def test_mgxs_library_ce_to_mg(): # Set the input set to use the pincell model model = pwr_pin_cell() diff --git a/tests/regression_tests/mgxs_library_ce_to_mg_nuclides/test.py b/tests/regression_tests/mgxs_library_ce_to_mg_nuclides/test.py index b624140d4..eca1a7e41 100644 --- a/tests/regression_tests/mgxs_library_ce_to_mg_nuclides/test.py +++ b/tests/regression_tests/mgxs_library_ce_to_mg_nuclides/test.py @@ -77,6 +77,8 @@ class MGXSTestHarness(PyAPITestHarness): os.remove(f) +import pytest +@pytest.mark.skip(reason="MG not planned for GPU support.") def test_mgxs_library_ce_to_mg(): # Set the input set to use the pincell model model = pwr_pin_cell() diff --git a/tests/regression_tests/mgxs_library_condense/test.py b/tests/regression_tests/mgxs_library_condense/test.py index 167772e2f..de3993665 100644 --- a/tests/regression_tests/mgxs_library_condense/test.py +++ b/tests/regression_tests/mgxs_library_condense/test.py @@ -60,6 +60,8 @@ class MGXSTestHarness(PyAPITestHarness): return outstr +import pytest +@pytest.mark.skip(reason="MG not planned for GPU support.") def test_mgxs_library_condense(): # Use the pincell model model = pwr_pin_cell() diff --git a/tests/regression_tests/mgxs_library_correction/test.py b/tests/regression_tests/mgxs_library_correction/test.py index 05eedfef8..6c0724399 100644 --- a/tests/regression_tests/mgxs_library_correction/test.py +++ b/tests/regression_tests/mgxs_library_correction/test.py @@ -57,6 +57,8 @@ class MGXSTestHarness(PyAPITestHarness): return outstr +import pytest +@pytest.mark.skip(reason="MG not planned for GPU support.") def test_mgxs_library_correction(): model = pwr_pin_cell() harness = MGXSTestHarness('statepoint.10.h5', model) diff --git a/tests/regression_tests/mgxs_library_distribcell/test.py b/tests/regression_tests/mgxs_library_distribcell/test.py index 5290d313b..6aa587c0b 100644 --- a/tests/regression_tests/mgxs_library_distribcell/test.py +++ b/tests/regression_tests/mgxs_library_distribcell/test.py @@ -64,6 +64,8 @@ class MGXSTestHarness(PyAPITestHarness): return outstr +import pytest +@pytest.mark.skip(reason="MG not planned for GPU support.") def test_mgxs_library_distribcell(): model = pwr_assembly() harness = MGXSTestHarness('statepoint.10.h5', model) diff --git a/tests/regression_tests/mgxs_library_hdf5/test.py b/tests/regression_tests/mgxs_library_hdf5/test.py index 9811ab215..b24fc4119 100644 --- a/tests/regression_tests/mgxs_library_hdf5/test.py +++ b/tests/regression_tests/mgxs_library_hdf5/test.py @@ -73,6 +73,8 @@ class MGXSTestHarness(PyAPITestHarness): os.remove(f) +import pytest +@pytest.mark.skip(reason="MG not planned for GPU support.") def test_mgxs_library_hdf5(): try: np.set_printoptions(formatter={'float_kind': '{:.8e}'.format}) diff --git a/tests/regression_tests/mgxs_library_histogram/test.py b/tests/regression_tests/mgxs_library_histogram/test.py index b9905910a..b637c5eba 100644 --- a/tests/regression_tests/mgxs_library_histogram/test.py +++ b/tests/regression_tests/mgxs_library_histogram/test.py @@ -58,6 +58,8 @@ class MGXSTestHarness(PyAPITestHarness): return outstr +import pytest +@pytest.mark.skip(reason="MG not planned for GPU support.") def test_mgxs_library_histogram(): model = pwr_pin_cell() harness = MGXSTestHarness('statepoint.10.h5', model) diff --git a/tests/regression_tests/mgxs_library_mesh/test.py b/tests/regression_tests/mgxs_library_mesh/test.py index 3660d3eb7..561b45585 100644 --- a/tests/regression_tests/mgxs_library_mesh/test.py +++ b/tests/regression_tests/mgxs_library_mesh/test.py @@ -90,6 +90,8 @@ class MGXSTestHarness(PyAPITestHarness): return outstr +import pytest +@pytest.mark.skip(reason="MG not planned for GPU support.") def test_mgxs_library_mesh(model): harness = MGXSTestHarness('statepoint.5.h5', model) harness.main() diff --git a/tests/regression_tests/mgxs_library_no_nuclides/test.py b/tests/regression_tests/mgxs_library_no_nuclides/test.py index 506ac238f..ae0693985 100644 --- a/tests/regression_tests/mgxs_library_no_nuclides/test.py +++ b/tests/regression_tests/mgxs_library_no_nuclides/test.py @@ -57,6 +57,8 @@ class MGXSTestHarness(PyAPITestHarness): return outstr +import pytest +@pytest.mark.skip(reason="MG not planned for GPU support.") def test_mgxs_library_no_nuclides(): model = pwr_pin_cell() harness = MGXSTestHarness('statepoint.10.h5', model) diff --git a/tests/regression_tests/mgxs_library_nuclides/test.py b/tests/regression_tests/mgxs_library_nuclides/test.py index c64c27709..e4b01f14a 100644 --- a/tests/regression_tests/mgxs_library_nuclides/test.py +++ b/tests/regression_tests/mgxs_library_nuclides/test.py @@ -53,6 +53,8 @@ class MGXSTestHarness(PyAPITestHarness): return outstr +import pytest +@pytest.mark.skip(reason="MG not planned for GPU support.") def test_mgxs_library_nuclides(): model = pwr_pin_cell() harness = MGXSTestHarness('statepoint.10.h5', model)