From bef71ccb4cfebae598ec7e3defc9258e61a0ff66 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Mon, 8 Feb 2021 13:07:32 -0600 Subject: [PATCH 1/2] Add pytest.ini to register pytest markers --- pytest.ini | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 pytest.ini diff --git a/pytest.ini b/pytest.ini new file mode 100644 index 00000000..51a2dab3 --- /dev/null +++ b/pytest.ini @@ -0,0 +1,4 @@ +[pytest] +markers = + mpi: test requires MPI + octave: test requires Octave -- GitLab From 731600a4c58c209a056bd8f561a9ec31e44e4cea Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Mon, 8 Feb 2021 13:07:46 -0600 Subject: [PATCH 2/2] Add marker to octave tests --- test/test_interop.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test_interop.py b/test/test_interop.py index f6a14c56..8cbfb8fd 100644 --- a/test/test_interop.py +++ b/test/test_interop.py @@ -36,6 +36,7 @@ logger = logging.getLogger(__name__) @pytest.mark.parametrize("dim", [1, 2, 3]) +@pytest.mark.octave def test_nodal_dg_interop(actx_factory, dim): pytest.importorskip("oct2py") actx = actx_factory() -- GitLab