9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] acid questions (coverage, scripting)
@ 2001-09-20 15:24 Axel Belinfante
  2001-09-20 15:34 ` Axel Belinfante
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Belinfante @ 2001-09-20 15:24 UTC (permalink / raw)
  To: 9fans

When looking at the acid coverage library I noticed that its analysis()
routine does not report basic blocks for which the starting source
line is greater or equal than the ending source line.
Now I'm curious: why are those blocks skipped in analysis(),
and how comes that we have (what kind of source code structure gives us)
blocks for which 'startsourceline > endsourecline' ?

Another question: I have tried to 'automate' running acid,
by putting the commands that I want to execute in a file
and then do something like: acid -l coverage prog < file > log
Unfortunately, commands that follow 'coverage()' in file are
not executed, probably because coverage() stops executing
with ... (error) msg: pid=12345 startstop: process exited
after which acid 'forgets' the remainder of the unexecuted
commands that were already read from file (or something similar).
Is there a(n) (easy) way out of this?

Thanks for any insight,
Axel.







^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [9fans] acid questions (coverage, scripting)
  2001-09-20 15:24 [9fans] acid questions (coverage, scripting) Axel Belinfante
@ 2001-09-20 15:34 ` Axel Belinfante
  0 siblings, 0 replies; 2+ messages in thread
From: Axel Belinfante @ 2001-09-20 15:34 UTC (permalink / raw)
  To: 9fans

> When looking at the acid coverage library I noticed that its analysis()
oops. I meant the function analyse.                            ^^^^^^^^

Axel.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-09-20 15:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-20 15:24 [9fans] acid questions (coverage, scripting) Axel Belinfante
2001-09-20 15:34 ` Axel Belinfante

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).