Bullseye coverage for embedded systems - not a small location data file
I have been fighting for several weeks with Bullseye working for EFI (EDK II). I finally linked everything, compiled the code and everything seems to work (I used the Bullseye tutorial for an embedded system and this thread: Bullseye for an EDK based application ).
I ran tests and got symbols for the Bullseye COV file. According to the second link:
The output can be redirected to a file (using the> directive inside the EDK2 wrapper) and then processed by covpost to be merged into a cov file created during the build process.
I redirected this output to a file, but when trying to merge into a COV file, I get the message:
Copyright (c) Bullseye Test Technology 1990-2014
Exception: be_test: not a small data file
Some ideas?
Thank.
source to share
I had a similar problem. The solution is very simple - you have to delete the first and last line in the .data file:
--- BullseyeCoverage starts the file 'BullseyeCoverage.data-1', the data starts on the next line --- <<<------ delete it - - BullseyeCoverage end <<<------ remove it
source to share