diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-08-10 10:29:29 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-08-10 10:29:56 +0200 |
commit | 7f57b1e99278fd5483fe2c940dd6967a6f73012f (patch) | |
tree | afa576c94b4e7f4cbc2637124baba3078542b8ce | |
parent | spec: Improve branch coverage (diff) | |
download | rtems-central-7f57b1e99278fd5483fe2c940dd6967a6f73012f.tar.bz2 |
spec: Add code coverage support for _Terminate()
-rw-r--r-- | spec/score/interr/val/terminate.yml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/score/interr/val/terminate.yml b/spec/score/interr/val/terminate.yml index 2021fb1b..cbc85afb 100644 --- a/spec/score/interr/val/terminate.yml +++ b/spec/score/interr/val/terminate.yml @@ -217,7 +217,9 @@ test-description: null test-header: null test-includes: - bsp.h +- rtems/bspIo.h - rtems/score/atomic.h +- rtems/score/io.h - rtems/score/percpu.h - rtems/score/sysstate.h - setjmp.h @@ -269,6 +271,9 @@ test-support: | halt_code = code; longjmp( before_terminate, 1 ); } else { + #if defined(RTEMS_COVERAGE) + _IO_Dump_gcov_info( rtems_put_char, NULL ); + #endif __real__CPU_Fatal_halt( source, code ); } } |