riscv-openocd/src
Jan Matyas d4a64e3f38 autoconf: Add support for code coverage
Add support for code coverage collection. This helps
developers to check if their test scenarios really exercised
all the OpenOCD functionality that they intended to test.

- Option --enable-gcov has been added to configure.ac
  which enables the coverage collection using Gcov. (Disabled
  by default.)

- The steps to collect and inspect the coverage have been
  described in HACKING file.

Change-Id: I259e401937a255e7ad7f155359a0b7787e4d0752
Signed-off-by: Jan Matyas <jan.matyas@codasip.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/8521
Tested-by: jenkins
Reviewed-by: Evgeniy Naydanov <evgeniy.naydanov@syntacore.com>
Reviewed-by: Antonio Borneo <borneo.antonio@gmail.com>
2024-11-16 14:18:57 +00:00
..
flash flash: convert 'unsigned' to 'unsigned int' 2024-11-02 21:03:19 +00:00
helper gdb_server: Improve const correctness 2024-10-20 09:25:25 +00:00
jtag adapter/parport: Coding style changes 2024-11-02 21:06:05 +00:00
pld pld/intel: remove idcodes from intel.c 2024-06-15 14:25:05 +00:00
rtos OpenOCD: drop comparison with true/false 2024-10-05 15:49:04 +00:00
rtt rtt: default the ID to "SEGGER RTT" 2024-08-25 12:43:22 +00:00
server server: convert 'unsigned' to 'unsigned int' 2024-11-02 21:03:04 +00:00
svf openocd: convert 'unsigned' to 'unsigned int' 2024-10-05 15:46:25 +00:00
target target/breakpoints: fix types in `watchpoint_add_internal()` 2024-11-11 17:33:56 +00:00
transport openocd: convert 'unsigned' to 'unsigned int' 2024-10-05 15:46:25 +00:00
xsvf openocd: convert 'unsigned' to 'unsigned int' 2024-10-05 15:46:25 +00:00
Makefile.am configure: Use pkg-config for jimtcl 2024-08-02 15:59:07 +00:00
hello.c hello: include hello.h 2023-05-18 10:13:41 +00:00
hello.h openocd: src: replace the GPL-2.0-or-later license tag 2022-07-23 13:59:13 +00:00
main.c openocd: fix SPDX tag format for files .c 2022-09-18 08:22:01 +00:00
openocd.c autoconf: Add support for code coverage 2024-11-16 14:18:57 +00:00
openocd.h openocd: src: replace the GPL-2.0-or-later license tag 2022-07-23 13:59:13 +00:00