diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2024-01-19 10:38:20 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2024-02-22 14:30:40 +0100 |
commit | e9c7ba3e0509beca5dcfda47a654a51a25acfdb7 (patch) | |
tree | 3b363ec87cba80a9ddfb01bbcaecbdf8ef98fc4d /cpukit/libtest/testgcovdumpinfo.c | |
parent | testsuites/dl11: Test TLS on a secondary thread (diff) | |
download | rtems-e9c7ba3e0509beca5dcfda47a654a51a25acfdb7.tar.bz2 |
libtest: Improve gcov info dump
Make sure there is no spurious empty line between the gcov info and the
*** END OF GCOV INFO BASE64 ***
line. This helps to recalculate the hash correctly at the consumer
side.
Diffstat (limited to '')
-rw-r--r-- | cpukit/libtest/testgcovdumpinfo.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cpukit/libtest/testgcovdumpinfo.c b/cpukit/libtest/testgcovdumpinfo.c index 71cf4d6d37..1f32ceafcb 100644 --- a/cpukit/libtest/testgcovdumpinfo.c +++ b/cpukit/libtest/testgcovdumpinfo.c @@ -75,10 +75,8 @@ void rtems_test_gcov_dump_info( void ) _IO_Printf( rtems_put_char, NULL, "\n*** BEGIN OF GCOV INFO BASE64 ***\n" ); _Hash_Initialize( &gcov_hash ); _Gcov_Dump_info_base64( gcov_put_char, NULL ); - _IO_Printf( rtems_put_char, NULL, "\n*** END OF GCOV INFO BASE64 ***\n" ); - byte = '\n'; - _Hash_Add_data( &gcov_hash, &byte, sizeof( byte ) ); _Hash_Finalize( &gcov_hash, &result ); + _IO_Printf( rtems_put_char, NULL, "*** END OF GCOV INFO BASE64 ***\n" ); _IO_Printf( rtems_put_char, NULL, |