mirror of
https://github.com/amd/blis.git
synced 2026-05-24 18:34:40 +00:00
- Tools used for code coverage are : Gcov and Lcov. - We need to use macros specified by gcov during compiliation of blis and gtestsuite. - Locv will generate coverage reports in html format. AMD-Internal: [CPUPL-2732] Change-Id: I17b30b4a322b8771f2d6a4ba28986cf0ccf3fba6
12 lines
295 B
Bash
Executable File
12 lines
295 B
Bash
Executable File
#!/bin/bash
|
|
|
|
echo "Code Coverage for BLIS"
|
|
echo "obj_dir_path : $1"
|
|
echo "out_dir_name : $2"
|
|
|
|
#$1 : obj_dir_path
|
|
#$2 : out_dir_name
|
|
|
|
lcov --capture --directory $1 --output-file $2.info
|
|
lcov --remove $2.info -o $2_filtered.info '/usr/*' '/*/_deps/*'
|
|
genhtml $2_filtered.info --output-directory $2 |