From ea5b71b7972d0b907787227b2c4a91d64f9507eb Mon Sep 17 00:00:00 2001
From: "Timothy A. Smith" <tasmith4@illinois.edu>
Date: Sat, 3 Aug 2019 00:23:38 -0500
Subject: [PATCH] skip all tests except lax_wavespeeds

---
 test.py | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/test.py b/test.py
index 427f3e7..a2a9fd0 100644
--- a/test.py
+++ b/test.py
@@ -18,6 +18,7 @@ import utilities as u
 from data_for_test import flux_test_data_fixture  # noqa: F401
 
 
+@pytest.mark.slow
 def test_weno_flux_uniform_grid(ctx_factory, flux_test_data_fixture):
     data = flux_test_data_fixture
 
@@ -37,6 +38,7 @@ def test_weno_flux_uniform_grid(ctx_factory, flux_test_data_fixture):
     u.compare_arrays(flux_dev.get(), data.weno_flux)
 
 
+@pytest.mark.slow
 def test_consistent_part_uniform_grid(ctx_factory, flux_test_data_fixture):
     data = flux_test_data_fixture
 
@@ -52,6 +54,7 @@ def test_consistent_part_uniform_grid(ctx_factory, flux_test_data_fixture):
     u.compare_arrays(consistent_dev.get(), data.consistent)
 
 
+@pytest.mark.slow
 def test_dissipation_part_pos_uniform_grid(ctx_factory, flux_test_data_fixture):
     data = flux_test_data_fixture
 
@@ -69,6 +72,7 @@ def test_dissipation_part_pos_uniform_grid(ctx_factory, flux_test_data_fixture):
     u.compare_arrays(dissipation_dev.get(), data.dissipation_pos)
 
 
+@pytest.mark.slow
 def test_dissipation_part_neg_uniform_grid(ctx_factory, flux_test_data_fixture):
     data = flux_test_data_fixture
 
@@ -86,6 +90,7 @@ def test_dissipation_part_neg_uniform_grid(ctx_factory, flux_test_data_fixture):
     u.compare_arrays(dissipation_dev.get(), data.dissipation_neg)
 
 
+@pytest.mark.slow
 def test_weno_weights_pos_uniform_grid(ctx_factory, flux_test_data_fixture):
     data = flux_test_data_fixture
 
@@ -102,6 +107,7 @@ def test_weno_weights_pos_uniform_grid(ctx_factory, flux_test_data_fixture):
     u.compare_arrays(weights_dev.get(), data.weno_weights_pos)
 
 
+@pytest.mark.slow
 def test_weno_weights_neg_uniform_grid(ctx_factory, flux_test_data_fixture):
     data = flux_test_data_fixture
 
@@ -118,6 +124,7 @@ def test_weno_weights_neg_uniform_grid(ctx_factory, flux_test_data_fixture):
     u.compare_arrays(weights_dev.get(), data.weno_weights_neg)
 
 
+@pytest.mark.slow
 def test_flux_splitting_uniform_grid(ctx_factory, flux_test_data_fixture):
     data = flux_test_data_fixture
 
@@ -139,6 +146,7 @@ def test_flux_splitting_uniform_grid(ctx_factory, flux_test_data_fixture):
     u.compare_arrays(fluxes_neg_dev.get(), data.char_fluxes_neg)
 
 
+@pytest.mark.slow
 def test_pointwise_eigenvalues_ideal_gas(ctx_factory, flux_test_data_fixture):
     data = flux_test_data_fixture
 
@@ -153,6 +161,7 @@ def test_pointwise_eigenvalues_ideal_gas(ctx_factory, flux_test_data_fixture):
     u.compare_arrays(lam_dev.get(), data.lam_pointwise)
 
 
+@pytest.mark.slow
 def test_roe_uniform_grid_ideal_gas(ctx_factory, flux_test_data_fixture):
     data = flux_test_data_fixture
 
@@ -217,6 +226,7 @@ def test_lax_wavespeeds(
     u.compare_arrays(lam_dev.get(), lam_expected)
 
 
+@pytest.mark.slow
 def test_matvec(ctx_factory):
     prg = u.get_weno_program_with_root_kernel("mult_mat_vec")
     queue = u.get_queue(ctx_factory)
-- 
GitLab