From 16e6ba3af7f5da40bdaa9f0f9b78003ca6932bf1 Mon Sep 17 00:00:00 2001 From: jmcarcell Date: Tue, 22 Aug 2023 09:05:18 +0200 Subject: [PATCH] Fix the consumer tests --- test/k4FWCoreTest/CMakeLists.txt | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/test/k4FWCoreTest/CMakeLists.txt b/test/k4FWCoreTest/CMakeLists.txt index 92a29fd1..8696f779 100644 --- a/test/k4FWCoreTest/CMakeLists.txt +++ b/test/k4FWCoreTest/CMakeLists.txt @@ -206,7 +206,9 @@ add_test(NAME ExampleFunctionalConsumer WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR} COMMAND ${K4RUN} options/runExampleFunctionalConsumer.py) set_test_env(ExampleFunctionalConsumer) -set_tests_properties(ExampleFunctionalConsumer PROPERTIES DEPENDS ExampleFunctionalProducer) +set_tests_properties(ExampleFunctionalConsumer PROPERTIES + PASS_REGULAR_EXPRESSION "Application Manager Terminated successfully with a user requested ScheduledStop" + DEPENDS ExampleFunctionalProducer) add_test(NAME ExampleFunctionalTransformer WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR} @@ -225,7 +227,9 @@ add_test(NAME ExampleFunctionalConsumerMultiple WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR} COMMAND ${K4RUN} options/runExampleFunctionalConsumerMultiple.py) set_test_env(ExampleFunctionalConsumerMultiple) -set_tests_properties(ExampleFunctionalConsumerMultiple PROPERTIES DEPENDS ExampleFunctionalProducerMultiple) +set_tests_properties(ExampleFunctionalConsumerMultiple PROPERTIES + PASS_REGULAR_EXPRESSION "Application Manager Terminated successfully with a user requested ScheduledStop" + DEPENDS ExampleFunctionalProducerMultiple) add_test(NAME ExampleFunctionalTransformerMultiple WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}