[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [csmith-dev] [extended-csmith] CODE COVERAGE ON GCC



HI Sameeran,

On 12/24/18 8:44 AM, sameeran joshi wrote:
Hi I used the script build_gcov_compiler.pl which made most of the
work of building the compiler easier.
Now heading towards gen_cov.pl script , the script has started to run
the compiler's testsuite for gcc , but it's stuck at

Running /home/extended_csmith/coverage/sources/current-gcc/gcc/testsuite/gcc.c-torture/compile/compile.exp
...

I have been running this script for more than half an hour, any
guesses how long does it take to finish the script? Or am I running
the script wrongly?

It wouldn't run such long. To figure our what's going on, you will have to check which command was hanging. For example, it might be because lcov failed to process the output of compile.exp, or it might be GCC failed to compile compile.exp, or it might be because gen_cov.pl failed to terminate under some condition. In any case, I think you need to print out more details from the gen_cov.pl script. Thanks.

- Yang