X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=CMakeLists.txt;h=391070de14f211d1bcdfd311fdba0f96822738d6;hb=refs%2Fchanges%2F10%2F3510%2F1;hp=d702d45193c38def355a58a485beeab7a91223a3;hpb=8cb3c6f5d5062b83f17a5739e0671490beb543de;p=ric-plt%2Fxapp-frame-cpp.git diff --git a/CMakeLists.txt b/CMakeLists.txt index d702d45..391070d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,8 +28,8 @@ project( ricxfcpp ) cmake_minimum_required( VERSION 3.5 ) -set( major_version "0" ) # should be automatically populated from git tag later, but until CI process sets a tag we use this -set( minor_version "1" ) +set( major_version "1" ) # should be automatically populated from git tag later, but until CI process sets a tag we use this +set( minor_version "0" ) set( patch_level "0" ) set( install_root "${CMAKE_INSTALL_PREFIX}" ) @@ -199,6 +199,15 @@ if( DEV_PKG ) target_include_directories( ricxfcpp_static PUBLIC "src/messenger" "src/xapp" ) endif() +# -------- unit testing ------------------------------------------------------- +enable_testing() +add_test( + NAME drive_unit_tests + COMMAND bash ../test/unit_test.sh -q + WORKING_DIRECTORY ../test +) + + # ------------- packaging ----------------------------------------------------- # Define what should be installed, and where they should go. For dev package we install