Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: esystem@my-deja.com
Subject: A prof -pixie -testcoverage question
Date: 1999/09/30	[thread overview]
Message-ID: <7t0tfo$se3$1@nnrp1.deja.com> (raw)

Hello,

I am running the following uname -a and atom -version:
OSF1 pepper V4.0 878 alpha
Atom V2.17d  June 27, 1997

It looks like prof -testcoverage does not always complain about
parts of code which are not covered. For example, in the program
below the "printf ("no\n")" line does not get covered, but prof
does not says anything about that.

#define M(x) do {                               \
  if (x) {                                      \
    printf ("yes\n");                           \
  }                                             \
  else {                                        \
    printf ("no\n");                            \
  }                                             \
} while (0)

int main () {
  M (1);
  return 1;
}

Does anybody know of a way to force pixie to cover such cases
or if they get covered by newer versions of atom ?

Thanks


Sent via Deja.com http://www.deja.com/
Before you buy.



                 reply	other threads:[~1999-09-30  4:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox