I can't seem to find a definition of what return values coverage.exe returns when it completes in a command shell.
Where is this documented? I can see 0 is "OK", but there are other non-zero (error) values, and I haven't yet found out what they are or where they are defined. Can someone point me in the right direction?
This is pretty important so that we can detect what errors are occurring on our coverage runs that can take up to 2 days.
I am using version 2003.06.15 build 6052.
NOTICE: developerWorks Community will be offline May 29-30, 2015 while we upgrade to the latest version of IBM Connections. For more information, read our upgrade FAQ.
This topic has been locked.
1 reply Latest Post - 2011-12-15T18:31:28Z by SystemAdmin
Pinned topic Coverage return values
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2011-12-15T18:31:28Z at 2011-12-15T18:31:28Z by SystemAdmin
SystemAdmin 110000D4XK2948 PostsACCEPTED ANSWER
Re: Coverage return values2011-12-15T18:31:28Z in response to matwsijHi matwsij,
In general, what would you expect the error codes to mean? Would you want some
specific error code to be displayed if your code coverage level is only 50%? If
you are trying to completely automate the process of measuring code coverage and
take action based on your code coverage levels, you might want to try an approach
1. Run the application under PureCoverage from the command line.
2. Use the /SaveTextData option to save your coverage results into a text file
3. Write a PERL script or equivalent to parse through your coverage results
to determine if the coverage level is acceptable.