From 1367ea4e1103b3389067feb6b7a57ee75bd20147 Mon Sep 17 00:00:00 2001 From: "lal.harshita" Date: Thu, 1 Jul 2021 17:27:39 +0530 Subject: [PATCH] sonar testing Signed-off-by: lal.harshita Change-Id: I9f2abb5612518ac2c9886b62078c0e883a4bb9b8 --- CMakeLists.txt | 5 +++++ test/unit_test.sh | 1 + 2 files changed, 6 insertions(+) create mode 100644 test/unit_test.sh 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 -- 2.16.6