diff --git a/k4FWCore/components/EventCounter.cpp b/k4FWCore/components/EventCounter.cpp index 758061f4..f1bd0310 100644 --- a/k4FWCore/components/EventCounter.cpp +++ b/k4FWCore/components/EventCounter.cpp @@ -31,6 +31,11 @@ class EventCounter final : public Gaudi::Functional::Consumer m_count{this, "count"}; Gaudi::Property m_frequency{this, "Frequency", 1, "How often to print the event number"}; diff --git a/test/k4FWCoreTest/CMakeLists.txt b/test/k4FWCoreTest/CMakeLists.txt index f1edba33..e8457b2f 100644 --- a/test/k4FWCoreTest/CMakeLists.txt +++ b/test/k4FWCoreTest/CMakeLists.txt @@ -140,7 +140,8 @@ add_test_with_env(Testk4runVerboseOutput options/TestArgs.py --verbose PROPERTIE add_test_with_env(Testk4runHelpOnly options/TestArgs.py --help PROPERTIES PASS_REGULAR_EXPRESSION "show this help message and exit") add_test_with_env(TestEventCounter options/TestEventCounter.py) -set_tests_properties(TestEventCounter PROPERTIES FAIL_REGULAR_EXPRESSION "Processing event 1;Processing event 3" PASS_REGULAR_EXPRESSION "Processing event 0.*Processing event 2;Processing event 2.*Processing event 0") +set_tests_properties(TestEventCounter PROPERTIES FAIL_REGULAR_EXPRESSION "Processing event 1;Processing event 3" + PASS_REGULAR_EXPRESSION "(Processing event 0.*Processing event 2|Processing event 2.*Processing event 0).*Processed 4 events.*Processed 4 events") add_test_with_env(FunctionalMemory options/ExampleFunctionalMemory.py) add_test_with_env(FunctionalMTMemory options/ExampleFunctionalMTMemory.py)