Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
29 Views

Fortran code coverage

In the documentation of the Intel Fortran 16.0 (and also in the newer manuals) it is stated:

Excluding Coverage at the Line and Function Level
You can mark individual lines for exclusion my passing string values to the -onelinedsbl option. For
example, assume that you have some code similar to the following:
Sample code

print*, "ERROR: n = ", n ! NO_COVER

and for "Excluding Code by Defining Arbitrary Boundaries":

! /* BINF */
print*, "ERROR: n = ", n
print*, " n2 = ", n2
! // EINF

For the multi line version this is working but the single line isn't. A small experiment showed that:

print*, "ERROR: n = ", n ! // NO_COVER

and

print*, "ERROR: n = ", n ! /* NO_COVER */

are working.

 

Did we make a mistake or is this an omission in the manual?

0 Kudos
1 Reply
Highlighted
Beginner
29 Views

0 Kudos