X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=CMakeLists.txt;h=aa84f9746268eac5be4df004b2c4794835725312;hb=ae05b16e9e8e55e95561e6f77f24bbadc5040ac4;hp=c23676a59a7c2597b98dcce253a9ea005f9d3d4c;hpb=216e43c47dc133f10f095f78dad1ac8b8c1a55f9;p=ric-app%2Fmc.git diff --git a/CMakeLists.txt b/CMakeLists.txt index c23676a..aa84f97 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -36,10 +36,17 @@ enable_testing() # cmake cannot set env vars, so we have to passed desired vars on the wrapper command # and assume the wrapper will do the right thing with them. CMake also seems unable # to reference ../dir1/dir2 (../dir1 works), so we have to use the crazy syntax -# with the absurdly long variable name. +# with the absurdly long variable name before the ../. # add_test( NAME drive_listener_tests COMMAND bash run_unit_test.ksh CMBUILD=${CMAKE_CURRENT_BINARY_DIR} - WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/../sidecars/listener_test + 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 )