blob: af379482a66a95cffeab522c78d2b7dcb105cba7 [file] [log] [blame]
E. Scott Daniels2301eb82020-07-15 13:46:51 -04001
2This directory contains all of the tests which can be run
3to vet the modules for the MG xAPP.
4
5Run the script unit_test.sh (ksh or bash) to build and execute
6each test. The script will leave the relivent .gcov files
7in the directory for any additional use. It will also provide
8a high level summary of the coverage of each of the modules.
9
10The data directory contians input files which are used during
11the tests.
12
13
14The test programmes are all named *_test.cpp. There are support
15tools also located in this directory:
16
17 ut_support.cpp -- test tools used by all test programmes
18 parse_gcov.sh -- script to parse .gcov files for summary
19 stats_sender.c -- A simple xAPP which sends RMR messages with
20 the metrics message type.
21
22It is possible to drive the unit tests from the top level CMake
23generated build environment:
24
25 mkdir .build
26 cd .build
27 cmake ..
28 make test ARGS="-V"
29