From: lal.harshita Date: Thu, 1 Jul 2021 11:57:39 +0000 (+0530) Subject: sonar testing X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=commitdiff_plain;h=1367ea4e1103b3389067feb6b7a57ee75bd20147;p=o-du%2Fl2.git sonar testing Signed-off-by: lal.harshita Change-Id: I9f2abb5612518ac2c9886b62078c0e883a4bb9b8 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 6d5864b6f..e5561c093 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1 +1,6 @@ #sonar qube testing +project( odu-l2 ) +cmake_minimum_required( VERSION 2.8.12.2) +#No unit test present in this framework TBD in further releases. +enable_testing() +add_test(NAME drive_unit_tests COMMAND bash ../test/unit_test.sh) diff --git a/test/unit_test.sh b/test/unit_test.sh new file mode 100644 index 000000000..ae58a57d1 --- /dev/null +++ b/test/unit_test.sh @@ -0,0 +1 @@ +cd odu;make clean_odu MACHINE=BIT64 MODE=TDD;make odu MACHINE=BIT64 MODE=TDD COVERAGE=1