Skip to content

Commit

Permalink
Ignore regex matches from Dart printouts
Browse files Browse the repository at this point in the history
  • Loading branch information
tmadlener committed Sep 16, 2024
1 parent 6f68c09 commit 4dde6b8
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,19 +26,24 @@ add_test(NAME check_complete_file COMMAND pytest --inputfile=${CMAKE_BINARY_DIR}
set_test_env(check_complete_file)
set_tests_properties(
check_complete_file

PROPERTIES
DEPENDS create_complete_file
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)
add_test(NAME check_complete_file_rntuple COMMAND pytest --inputfile=${CMAKE_BINARY_DIR}/test/edm4hep_example_rntuple.root -v)
set_test_env(check_complete_file_rntuple)
set_tests_properties(
check_complete_file_rntuple

PROPERTIES
DEPENDS create_complete_file_rntuple
)

set_tests_properties(
check_complete_file
check_complete_file_rntuple

PROPERTIES
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
FAIL_REGULAR_EXPRESSION ""
)

add_executable(write_events write_events.cc)
Expand Down
2 changes: 1 addition & 1 deletion test/pytest.ini
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[pytest]
addopts = --ignore=test_rdf.py --ignore=tools
addopts = --ignore=test_rdf.py --ignore=tools --ignore=utils

0 comments on commit 4dde6b8

Please sign in to comment.