diff options
-rw-r--r-- | grc/tests/CMakeLists.txt | 2 | ||||
-rw-r--r-- | grc/tests/test_examples.py | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/grc/tests/CMakeLists.txt b/grc/tests/CMakeLists.txt index d316a75a94..e187e42296 100644 --- a/grc/tests/CMakeLists.txt +++ b/grc/tests/CMakeLists.txt @@ -16,6 +16,6 @@ if(ENABLE_TESTING) if(PYTEST_FOUND) set(GR_TEST_ENVIRONS "GRC_BLOCKS_PATH=\"${CMAKE_CURRENT_SOURCE_DIR}/../blocks\"") - GR_ADD_TEST(grc_tests ${QA_PYTHON_EXECUTABLE} -B -m pytest ${CMAKE_CURRENT_SOURCE_DIR}) + GR_ADD_TEST(grc_tests ${QA_PYTHON_EXECUTABLE} -B -m pytest ${CMAKE_CURRENT_SOURCE_DIR} -m \"not examples\") endif() endif(ENABLE_TESTING) diff --git a/grc/tests/test_examples.py b/grc/tests/test_examples.py index ac45adcd55..2b590a4a94 100644 --- a/grc/tests/test_examples.py +++ b/grc/tests/test_examples.py @@ -44,6 +44,7 @@ def print_proper(element): return element.name return f"{element.parent.name} - {element}" +@pytest.mark.examples @pytest.mark.parametrize("example", gather_examples()) def test_all_examples(example): global BLOCK_PATHS |