From 951d5f6f60757e36530753754ba289ebd2c5a32f Mon Sep 17 00:00:00 2001 From: tmadlener Date: Wed, 25 Sep 2024 14:55:00 +0200 Subject: [PATCH] Avoid polluting the test output to make them fail The gaudi_fixtures that have been introduced with v39 include the full python file otherwise, which matches the FAIL_REGULAR_EXPRESSION and makes the test fail even though they are actually passing --- test/CMakeLists.txt | 1 - test/pytest.ini | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 238ff4574..351fa7673 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -44,7 +44,6 @@ set_tests_properties( PROPERTIES WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} - FAIL_REGULAR_EXPRESSION "" ) add_executable(write_events write_events.cc) diff --git a/test/pytest.ini b/test/pytest.ini index 10cf4e47f..5ae511141 100644 --- a/test/pytest.ini +++ b/test/pytest.ini @@ -1,2 +1,2 @@ [pytest] -addopts = --ignore=test_rdf.py --ignore=tools --ignore=utils +addopts = --ignore=test_rdf.py --ignore=tools --ignore=utils -p no:gaudi_fixtures