- COMMAND ksh run_unit_test.ksh CMBUILD=${CMAKE_CURRENT_BINARY_DIR}
- WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/../sidecars/listener
+ COMMAND bash run_unit_test.ksh CMBUILD=${CMAKE_CURRENT_BINARY_DIR}
+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/../sidecars/listener/test
+)
+
+# the listener application tests for sonar reports
+add_test(
+ NAME drive_mcl_app_tests
+ COMMAND bash run_app_tests.ksh CMBUILD=${CMAKE_CURRENT_BINARY_DIR}
+ WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/../sidecars/listener/test